Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 110.6 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 185.7 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 469.4 MB / 0.7428 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.91 kB / 1.066 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328/1.33, allocations: 159.1 MB / 1.221 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.2624/1.593, allocations: 236.4 MB / 1.452 GB, free: 5.047 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03402/1.627, allocations: 17.54 MB / 1.469 GB, free: 3.469 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00444/1.631, allocations: 87.5 kB / 1.469 GB, free: 3.383 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.007093/1.638, allocations: 2.161 MB / 1.471 GB, free: 1.219 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/1.649, allocations: 3.718 MB / 1.475 GB, free: 13.49 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.007568/1.656, allocations: 2.585 MB / 1.477 GB, free: 10.91 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01253/1.669, allocations: 7.884 MB / 1.485 GB, free: 3.012 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003803/1.673, allocations: 1.946 MB / 1.487 GB, free: 1.016 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00676/1.68, allocations: 2.779 MB / 1.49 GB, free: 14.23 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003673/1.683, allocations: 1.631 MB / 1.491 GB, free: 12.59 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.00084/1.684, allocations: 208 kB / 1.491 GB, free: 12.39 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008095/1.692, allocations: 3.61 MB / 1.495 GB, free: 8.773 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001549/1.694, allocations: 0.8919 MB / 1.496 GB, free: 7.879 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00422/1.698, allocations: 1.391 MB / 1.497 GB, free: 6.48 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01319/1.711, allocations: 4.908 MB / 1.502 GB, free: 1.559 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/1.711, allocations: 0 / 1.502 GB, free: 1.559 MB / 1.217 GB Notification: Performance of FrontEnd: time 3.155e-06/1.711, allocations: 0 / 1.502 GB, free: 1.559 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0002477/1.712, allocations: 0 / 1.502 GB, free: 1.559 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.01191/1.724, allocations: 3.249 MB / 1.505 GB, free: 14.23 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/1.724, allocations: 12.03 kB / 1.505 GB, free: 14.22 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006243/1.73, allocations: 0.8824 MB / 1.506 GB, free: 13.33 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006847/1.737, allocations: 2.783 MB / 1.509 GB, free: 10.48 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/1.737, allocations: 110.6 kB / 1.509 GB, free: 10.37 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005309/1.738, allocations: 155.9 kB / 1.509 GB, free: 10.21 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004429/1.742, allocations: 1.666 MB / 1.511 GB, free: 8.473 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/1.742, allocations: 3.938 kB / 1.511 GB, free: 8.469 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/1.742, allocations: 56 kB / 1.511 GB, free: 8.414 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-05/1.742, allocations: 54.5 kB / 1.511 GB, free: 8.359 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003836/1.746, allocations: 1.438 MB / 1.512 GB, free: 6.914 MB / 1.232 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0133/1.759, allocations: 8.116 MB / 1.52 GB, free: 14.21 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/1.762, allocations: 1.564 MB / 1.522 GB, free: 12.51 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/1.764, allocations: 0.5064 MB / 1.522 GB, free: 12 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/1.765, allocations: 0.7824 MB / 1.523 GB, free: 11.07 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001313/1.766, allocations: 0.5352 MB / 1.523 GB, free: 10.52 MB / 1.248 GB Notification: Performance of pre-optimization done (n=82): time 4.198e-06/1.766, allocations: 4 kB / 1.523 GB, free: 10.52 MB / 1.248 GB Notification: Performance of matching and sorting (n=82): time 0.004553/1.771, allocations: 1.606 MB / 1.525 GB, free: 8.883 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/1.771, allocations: 60.06 kB / 1.525 GB, free: 8.812 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004007/1.775, allocations: 2.16 MB / 1.527 GB, free: 6.629 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/1.775, allocations: 45.7 kB / 1.527 GB, free: 6.578 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/1.776, allocations: 1.058 MB / 1.528 GB, free: 5.504 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/1.777, allocations: 299.8 kB / 1.528 GB, free: 5.207 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005771/1.777, allocations: 318.6 kB / 1.529 GB, free: 4.891 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.777, allocations: 309.1 kB / 1.529 GB, free: 4.586 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/1.779, allocations: 0.6118 MB / 1.53 GB, free: 3.973 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/1.78, allocations: 1.014 MB / 1.531 GB, free: 2.805 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002744/1.783, allocations: 1.551 MB / 1.532 GB, free: 1.133 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/1.783, allocations: 4 kB / 1.532 GB, free: 1.129 MB / 1.248 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00409/1.787, allocations: 1.898 MB / 1.534 GB, free: 15.21 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.357e-05/1.787, allocations: 33.7 kB / 1.534 GB, free: 15.17 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/1.787, allocations: 12.91 kB / 1.534 GB, free: 15.16 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-05/1.787, allocations: 16 kB / 1.534 GB, free: 15.14 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/1.789, allocations: 327.5 kB / 1.534 GB, free: 14.82 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.508e-05/1.789, allocations: 19.94 kB / 1.534 GB, free: 14.8 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/1.791, allocations: 182.6 kB / 1.535 GB, free: 14.62 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.791, allocations: 59.98 kB / 1.535 GB, free: 14.57 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002303/1.793, allocations: 1.116 MB / 1.536 GB, free: 13.45 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001631/1.795, allocations: 1.007 MB / 1.537 GB, free: 12.29 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002721/1.797, allocations: 1.551 MB / 1.538 GB, free: 10.59 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-05/1.797, allocations: 4 kB / 1.538 GB, free: 10.59 MB / 1.264 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.00386/1.801, allocations: 1.905 MB / 1.54 GB, free: 8.672 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/1.801, allocations: 37.89 kB / 1.54 GB, free: 8.629 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/1.801, allocations: 8 kB / 1.54 GB, free: 8.621 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/1.801, allocations: 19.94 kB / 1.54 GB, free: 8.602 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/1.803, allocations: 331.6 kB / 1.54 GB, free: 8.277 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.482e-05/1.803, allocations: 15.94 kB / 1.54 GB, free: 8.262 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/1.805, allocations: 167.2 kB / 1.541 GB, free: 8.098 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/1.805, allocations: 55.98 kB / 1.541 GB, free: 8.043 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003814/1.805, allocations: 267.8 kB / 1.541 GB, free: 7.773 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006152/1.806, allocations: 213.2 kB / 1.541 GB, free: 7.562 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/1.809, allocations: 1.192 MB / 1.542 GB, free: 6.359 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002301/1.811, allocations: 1.223 MB / 1.543 GB, free: 5.047 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.811, allocations: 0 / 1.543 GB, free: 5.047 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.812, allocations: 398.1 kB / 1.544 GB, free: 4.637 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005723/1.813, allocations: 27.92 kB / 1.544 GB, free: 4.609 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/1.814, allocations: 67.94 kB / 1.544 GB, free: 4.543 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/1.815, allocations: 60.86 kB / 1.544 GB, free: 4.484 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003317/1.818, allocations: 1.197 MB / 1.545 GB, free: 3.277 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003821/1.822, allocations: 1.812 MB / 1.547 GB, free: 1.449 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001041/1.823, allocations: 487.7 kB / 1.547 GB, free: 0.9688 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002852/1.826, allocations: 1.433 MB / 1.549 GB, free: 15.52 MB / 1.279 GB Notification: Performance of Backend: time 3.4e-07/1.826, allocations: 0 / 1.549 GB, free: 15.52 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.009251/1.835, allocations: 3.127 MB / 1.552 GB, free: 12.54 MB / 1.279 GB Notification: Performance of SimCode: time 0.01109/1.846, allocations: 5.095 MB / 1.557 GB, free: 7.418 MB / 1.279 GB Notification: Performance of Templates: time 0.8353/2.681, allocations: 50.66 MB / 1.606 GB, free: 313 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches