Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 110.7 kB / 16.42 MB, free: 6.48 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.001935/0.001935, allocations: 185.7 kB / 17.34 MB, free: 5.746 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.332/1.332, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.611/2.611, allocations: 472.7 MB / 0.746 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001498, allocations: 59.91 kB / 1.07 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7952/0.7967, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03251/0.8293, allocations: 30.07 MB / 1.256 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01691/0.8462, allocations: 11.72 MB / 1.267 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.8479, allocations: 47.75 kB / 1.267 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003942/0.8519, allocations: 1.501 MB / 1.269 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004002/0.856, allocations: 1.664 MB / 1.27 GB, free: 348 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.8593, allocations: 1.467 MB / 1.272 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00902/0.8683, allocations: 6.732 MB / 1.278 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.8702, allocations: 1.4 MB / 1.28 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.8733, allocations: 1.516 MB / 1.281 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.8748, allocations: 1.113 MB / 1.282 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000233/0.875, allocations: 131.9 kB / 1.282 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.8776, allocations: 1.31 MB / 1.284 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005273/0.8782, allocations: 0.5334 MB / 1.284 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.8792, allocations: 0.9677 MB / 1.285 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003946/0.8831, allocations: 3.051 MB / 1.288 GB, free: 14.05 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8832, allocations: 0 / 1.288 GB, free: 14.05 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8832, allocations: 0 / 1.288 GB, free: 14.05 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.909e-05/0.8832, allocations: 0 / 1.288 GB, free: 14.05 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003674/0.8869, allocations: 2.429 MB / 1.29 GB, free: 11.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.8869, allocations: 15.97 kB / 1.29 GB, free: 11.53 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.8887, allocations: 394.4 kB / 1.291 GB, free: 11.14 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003753/0.8925, allocations: 2.42 MB / 1.293 GB, free: 8.676 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.489e-05/0.8925, allocations: 66 kB / 1.293 GB, free: 8.613 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.8927, allocations: 92 kB / 1.293 GB, free: 8.523 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.8944, allocations: 1.005 MB / 1.294 GB, free: 7.457 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.8944, allocations: 0 / 1.294 GB, free: 7.457 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/0.8945, allocations: 36 kB / 1.294 GB, free: 7.422 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.8945, allocations: 16 kB / 1.294 GB, free: 7.406 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.8962, allocations: 0.7571 MB / 1.295 GB, free: 6.652 MB / 1.014 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.006336/0.9025, allocations: 5.248 MB / 1.3 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.9038, allocations: 0.5692 MB / 1.301 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.9045, allocations: 324.5 kB / 1.301 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002458/0.907, allocations: 1.647 MB / 1.303 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007484/0.9077, allocations: 326.9 kB / 1.303 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000389/0.9082, allocations: 63.45 kB / 1.303 GB, free: 13.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 2.435e-06/0.9082, allocations: 0 / 1.303 GB, free: 13.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.003385/0.9116, allocations: 1.235 MB / 1.304 GB, free: 12.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.9116, allocations: 59.19 kB / 1.304 GB, free: 12.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/0.9143, allocations: 1.869 MB / 1.306 GB, free: 10.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.998e-05/0.9143, allocations: 41.7 kB / 1.306 GB, free: 10.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006874/0.915, allocations: 0.7921 MB / 1.307 GB, free: 9.883 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.9152, allocations: 162.7 kB / 1.307 GB, free: 9.723 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.9156, allocations: 270.5 kB / 1.307 GB, free: 9.453 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.9157, allocations: 353.9 kB / 1.308 GB, free: 9.102 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008336/0.9165, allocations: 460.9 kB / 1.308 GB, free: 8.648 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.9177, allocations: 0.8354 MB / 1.309 GB, free: 7.648 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.9195, allocations: 1.161 MB / 1.31 GB, free: 6.371 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.9195, allocations: 0 / 1.31 GB, free: 6.371 MB / 1.029 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003021/0.9225, allocations: 1.612 MB / 1.312 GB, free: 4.738 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.611e-05/0.9226, allocations: 35.58 kB / 1.312 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.9226, allocations: 8 kB / 1.312 GB, free: 4.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006707/0.9233, allocations: 189.3 kB / 1.312 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007219/0.924, allocations: 199.6 kB / 1.312 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007899/0.9248, allocations: 0.7784 MB / 1.313 GB, free: 3.504 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.9259, allocations: 68.28 kB / 1.313 GB, free: 3.438 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/0.926, allocations: 51.98 kB / 1.313 GB, free: 3.387 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001473/0.9275, allocations: 0.8622 MB / 1.314 GB, free: 2.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001219/0.9287, allocations: 0.8149 MB / 1.315 GB, free: 1.547 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00169/0.9304, allocations: 1.121 MB / 1.316 GB, free: 304 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.167e-06/0.9304, allocations: 4 kB / 1.316 GB, free: 300 kB / 1.029 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.003059/0.9335, allocations: 1.592 MB / 1.317 GB, free: 14.66 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.9336, allocations: 34.3 kB / 1.317 GB, free: 14.62 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.9336, allocations: 8 kB / 1.317 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000256/0.9339, allocations: 112.7 kB / 1.317 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006899/0.9346, allocations: 195.6 kB / 1.318 GB, free: 14.31 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.9372, allocations: 2.364 MB / 1.32 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.9385, allocations: 71.95 kB / 1.32 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.924e-05/0.9386, allocations: 43.98 kB / 1.32 GB, free: 11.68 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003903/0.939, allocations: 251.6 kB / 1.32 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004833/0.9395, allocations: 178.8 kB / 1.32 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.9419, allocations: 0.9042 MB / 1.321 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00161/0.9435, allocations: 0.8998 MB / 1.322 GB, free: 9.367 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.9436, allocations: 0 / 1.322 GB, free: 9.367 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007797/0.9443, allocations: 319.8 kB / 1.323 GB, free: 9.035 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003249/0.9447, allocations: 8 kB / 1.323 GB, free: 9.027 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007927/0.9455, allocations: 43.91 kB / 1.323 GB, free: 8.984 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.9456, allocations: 48.36 kB / 1.323 GB, free: 8.938 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002006/0.9476, allocations: 0.8164 MB / 1.323 GB, free: 8.109 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002172/0.9498, allocations: 1.187 MB / 1.325 GB, free: 6.902 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005652/0.9504, allocations: 267.3 kB / 1.325 GB, free: 6.645 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002153/0.9526, allocations: 1.277 MB / 1.326 GB, free: 5.344 MB / 1.045 GB Notification: Performance of Backend: time 5.21e-07/0.9526, allocations: 0 / 1.326 GB, free: 5.344 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005107/0.9577, allocations: 2.204 MB / 1.328 GB, free: 3.105 MB / 1.045 GB Notification: Performance of SimCode: time 0.006864/0.9646, allocations: 3.999 MB / 1.332 GB, free: 15.06 MB / 1.061 GB Notification: Performance of Templates: time 0.0606/1.025, allocations: 36.81 MB / 1.368 GB, free: 10.64 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches