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.007814/0.007815, allocations: 98.72 kB / 15.73 MB, free: 6.004 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.001662/0.001662, allocations: 192.6 kB / 16.67 MB, free: 5.93 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.572/2.572, allocations: 472.6 MB / 0.7453 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001226, allocations: 63.91 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8948/0.896, allocations: 159.9 MB / 1.226 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02856/0.9246, allocations: 30.06 MB / 1.255 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01735/0.942, allocations: 11.72 MB / 1.266 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.9437, allocations: 47.75 kB / 1.266 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003625/0.9474, allocations: 1.492 MB / 1.268 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.9509, allocations: 1.625 MB / 1.269 GB, free: 488 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003142/0.954, allocations: 1.472 MB / 1.271 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008085/0.9621, allocations: 6.735 MB / 1.277 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/0.9638, allocations: 1.396 MB / 1.279 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.9664, allocations: 1.479 MB / 1.28 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.9677, allocations: 1.113 MB / 1.281 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.9679, allocations: 128 kB / 1.281 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.9703, allocations: 1.31 MB / 1.283 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004714/0.9708, allocations: 0.5295 MB / 1.283 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008677/0.9717, allocations: 0.9716 MB / 1.284 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003453/0.9752, allocations: 3.048 MB / 1.287 GB, free: 14.23 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9752, allocations: 4 kB / 1.287 GB, free: 14.22 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9752, allocations: 0 / 1.287 GB, free: 14.22 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.428e-05/0.9752, allocations: 0 / 1.287 GB, free: 14.22 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.003325/0.9785, allocations: 2.43 MB / 1.29 GB, free: 11.72 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.9786, allocations: 15.98 kB / 1.29 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/0.9803, allocations: 394.3 kB / 1.29 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003423/0.9837, allocations: 2.416 MB / 1.292 GB, free: 8.852 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.9838, allocations: 62 kB / 1.292 GB, free: 8.793 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.9839, allocations: 88 kB / 1.292 GB, free: 8.707 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.9856, allocations: 1.005 MB / 1.293 GB, free: 7.641 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.9856, allocations: 4 kB / 1.293 GB, free: 7.637 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-05/0.9857, allocations: 35.94 kB / 1.294 GB, free: 7.602 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.9857, allocations: 27.94 kB / 1.294 GB, free: 7.574 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.9874, allocations: 0.7454 MB / 1.294 GB, free: 6.832 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.006132/0.9935, allocations: 5.256 MB / 1.299 GB, free: 1.242 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.9949, allocations: 0.5643 MB / 1.3 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006818/0.9956, allocations: 327.8 kB / 1.3 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002204/0.9978, allocations: 1.647 MB / 1.302 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007162/0.9985, allocations: 334.9 kB / 1.302 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003275/0.9988, allocations: 63.45 kB / 1.302 GB, free: 14.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 3.176e-06/0.9989, allocations: 0 / 1.302 GB, free: 14.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.003127/1.002, allocations: 1.231 MB / 1.303 GB, free: 12.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/1.002, allocations: 63.19 kB / 1.304 GB, free: 12.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/1.004, allocations: 1.877 MB / 1.305 GB, free: 10.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/1.004, allocations: 41.7 kB / 1.305 GB, free: 10.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00063/1.005, allocations: 0.7882 MB / 1.306 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/1.005, allocations: 162.7 kB / 1.306 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/1.006, allocations: 266.4 kB / 1.307 GB, free: 9.621 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.006, allocations: 353.9 kB / 1.307 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008628/1.007, allocations: 464.9 kB / 1.307 GB, free: 8.812 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/1.008, allocations: 0.8289 MB / 1.308 GB, free: 7.824 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/1.009, allocations: 1.161 MB / 1.309 GB, free: 6.551 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.922e-06/1.009, allocations: 4 kB / 1.309 GB, free: 6.547 MB / 1.029 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00289/1.012, allocations: 1.609 MB / 1.311 GB, free: 4.914 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/1.012, allocations: 37.8 kB / 1.311 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.012, allocations: 8 kB / 1.311 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006479/1.013, allocations: 188.7 kB / 1.311 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007452/1.014, allocations: 191.7 kB / 1.311 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007443/1.015, allocations: 0.7784 MB / 1.312 GB, free: 3.684 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009464/1.016, allocations: 68.3 kB / 1.312 GB, free: 3.617 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/1.016, allocations: 47.98 kB / 1.312 GB, free: 3.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001247/1.017, allocations: 0.8613 MB / 1.313 GB, free: 2.703 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009881/1.018, allocations: 0.8149 MB / 1.314 GB, free: 1.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001554/1.019, allocations: 1.125 MB / 1.315 GB, free: 496 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.719e-06/1.019, allocations: 0 / 1.315 GB, free: 496 kB / 1.029 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002491/1.022, allocations: 1.6 MB / 1.316 GB, free: 14.84 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/1.022, allocations: 33.7 kB / 1.316 GB, free: 14.8 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.022, allocations: 8 kB / 1.316 GB, free: 14.79 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/1.022, allocations: 112.8 kB / 1.317 GB, free: 14.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006572/1.023, allocations: 196.1 kB / 1.317 GB, free: 14.49 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/1.025, allocations: 2.356 MB / 1.319 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009087/1.026, allocations: 72.02 kB / 1.319 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.411e-05/1.026, allocations: 47.98 kB / 1.319 GB, free: 11.86 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.0002296/1.026, allocations: 243.9 kB / 1.319 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/1.026, allocations: 174.9 kB / 1.32 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/1.028, allocations: 0.9081 MB / 1.32 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.028, allocations: 8 kB / 1.32 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/1.028, allocations: 4 kB / 1.32 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001493/1.03, allocations: 0.896 MB / 1.321 GB, free: 9.551 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003153/1.033, allocations: 2.006 MB / 1.323 GB, free: 7.473 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.033, allocations: 0 / 1.323 GB, free: 7.473 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/1.034, allocations: 87.92 kB / 1.323 GB, free: 7.387 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002679/1.034, allocations: 120.8 kB / 1.324 GB, free: 7.266 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/1.034, allocations: 19.98 kB / 1.324 GB, free: 7.246 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005656/1.034, allocations: 0.7456 MB / 1.324 GB, free: 6.477 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.034, allocations: 4 kB / 1.324 GB, free: 6.473 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/1.037, allocations: 1.242 MB / 1.325 GB, free: 5.199 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/1.037, allocations: 315.9 kB / 1.326 GB, free: 4.871 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/1.037, allocations: 12 kB / 1.326 GB, free: 4.859 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006839/1.038, allocations: 44.02 kB / 1.326 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/1.038, allocations: 35.94 kB / 1.326 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/1.038, allocations: 23.98 kB / 1.326 GB, free: 4.758 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001687/1.04, allocations: 1.269 MB / 1.327 GB, free: 3.465 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.41e-07/1.04, allocations: 0 / 1.327 GB, free: 3.465 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001895/1.042, allocations: 0.8189 MB / 1.328 GB, free: 2.645 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001144/1.043, allocations: 0.5233 MB / 1.328 GB, free: 2.117 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003351/1.046, allocations: 1.868 MB / 1.33 GB, free: 220 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.046, allocations: 0 / 1.33 GB, free: 220 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008501/1.047, allocations: 336.4 kB / 1.331 GB, free: 15.89 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/1.05, allocations: 0.7966 MB / 1.331 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/1.056, allocations: 3.039 MB / 1.334 GB, free: 12.03 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/1.057, allocations: 1.444 MB / 1.336 GB, free: 10.56 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001291/1.058, allocations: 445.2 kB / 1.336 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/1.058, allocations: 127.4 kB / 1.336 GB, free: 9.992 MB / 1.061 GB Notification: Performance of SimCode: time 7.11e-07/1.058, allocations: 0 / 1.336 GB, free: 9.992 MB / 1.061 GB Notification: Performance of Templates: time 0.05186/1.11, allocations: 33.6 MB / 1.369 GB, free: 8.789 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches