Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001546, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.728/2.728, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 69.39 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2949, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02974/0.3247, allocations: 33.2 MB / 1.101 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01618/0.3409, allocations: 12.31 MB / 1.113 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.3422, allocations: 47.75 kB / 1.113 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.006752/0.349, allocations: 3.975 MB / 1.117 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003625/0.3527, allocations: 1.64 MB / 1.118 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.3557, allocations: 1.431 MB / 1.12 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.008121/0.3639, allocations: 7.67 MB / 1.127 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/0.3664, allocations: 2.09 MB / 1.129 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004776/0.3712, allocations: 1.87 MB / 1.131 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/0.3738, allocations: 1.404 MB / 1.132 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003619/0.3742, allocations: 144 kB / 1.132 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003817/0.378, allocations: 1.338 MB / 1.134 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007652/0.3788, allocations: 0.5955 MB / 1.134 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.3806, allocations: 1.193 MB / 1.135 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005657/0.3863, allocations: 3.454 MB / 1.139 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3863, allocations: 0 / 1.139 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.436e-06/0.3863, allocations: 7.984 kB / 1.139 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.187e-05/0.3864, allocations: 4 kB / 1.139 GB, free: 1.809 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.0059/0.3923, allocations: 2.791 MB / 1.142 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3923, allocations: 8.031 kB / 1.142 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002869/0.3952, allocations: 436.6 kB / 1.142 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006161/0.4014, allocations: 2.626 MB / 1.145 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.4015, allocations: 82.28 kB / 1.145 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/0.4018, allocations: 115.8 kB / 1.145 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003293/0.4051, allocations: 1.322 MB / 1.146 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/0.4052, allocations: 3.938 kB / 1.146 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.4053, allocations: 47.98 kB / 1.146 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.4054, allocations: 27.94 kB / 1.146 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/0.4085, allocations: 1.022 MB / 1.147 GB, free: 9.102 MB / 0.9044 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.01146/0.42, allocations: 6.923 MB / 1.154 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.4221, allocations: 0.6014 MB / 1.154 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008552/0.423, allocations: 395 kB / 1.155 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002785/0.4258, allocations: 1.766 MB / 1.157 GB, free: 14.85 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007776/0.4266, allocations: 363 kB / 1.157 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004169/0.427, allocations: 95.17 kB / 1.157 GB, free: 14.39 MB / 0.92 GB Notification: Performance of pre-optimization done (n=44): time 1.893e-06/0.427, allocations: 0 / 1.157 GB, free: 14.39 MB / 0.92 GB Notification: Performance of matching and sorting (n=44): time 0.003479/0.4305, allocations: 1.368 MB / 1.158 GB, free: 12.99 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.4306, allocations: 59.36 kB / 1.158 GB, free: 12.92 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/0.4333, allocations: 2.376 MB / 1.161 GB, free: 10.53 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.377e-05/0.4334, allocations: 45.69 kB / 1.161 GB, free: 10.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007954/0.4342, allocations: 0.9963 MB / 1.162 GB, free: 9.469 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.4343, allocations: 153.9 kB / 1.162 GB, free: 9.316 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003735/0.4347, allocations: 298.5 kB / 1.162 GB, free: 9.02 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4348, allocations: 357.9 kB / 1.163 GB, free: 8.664 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009125/0.4357, allocations: 0.5016 MB / 1.163 GB, free: 8.156 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.437, allocations: 0.9893 MB / 1.164 GB, free: 6.949 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/0.4389, allocations: 1.343 MB / 1.165 GB, free: 5.449 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.4389, allocations: 8 kB / 1.165 GB, free: 5.441 MB / 0.92 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003392/0.4423, allocations: 1.804 MB / 1.167 GB, free: 3.621 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/0.4424, allocations: 37.86 kB / 1.167 GB, free: 3.578 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.4424, allocations: 12 kB / 1.167 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007003/0.4431, allocations: 191.7 kB / 1.167 GB, free: 3.379 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008051/0.444, allocations: 231.6 kB / 1.168 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006904/0.4447, allocations: 0.7513 MB / 1.168 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.446, allocations: 80.61 kB / 1.168 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.181e-05/0.4461, allocations: 55.98 kB / 1.168 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00163/0.4477, allocations: 1.022 MB / 1.169 GB, free: 1.215 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001163/0.4489, allocations: 0.9697 MB / 1.17 GB, free: 36 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001806/0.4507, allocations: 1.311 MB / 1.172 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.272e-06/0.4508, allocations: 4 kB / 1.172 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.002996/0.4538, allocations: 1.797 MB / 1.173 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.4538, allocations: 41.69 kB / 1.173 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.4538, allocations: 15.88 kB / 1.173 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002384/0.4541, allocations: 120.8 kB / 1.174 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007565/0.4548, allocations: 227.9 kB / 1.174 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.457, allocations: 2.333 MB / 1.176 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.4583, allocations: 88.36 kB / 1.176 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/0.4584, allocations: 51.98 kB / 1.176 GB, free: 9.711 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003318/0.4587, allocations: 252.5 kB / 1.176 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.459, allocations: 213.3 kB / 1.177 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.4614, allocations: 1.033 MB / 1.178 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.4615, allocations: 4 kB / 1.178 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4615, allocations: 4 kB / 1.178 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001726/0.4632, allocations: 0.9701 MB / 1.179 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004295/0.4675, allocations: 2.315 MB / 1.181 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.4675, allocations: 4 kB / 1.181 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/0.4681, allocations: 99.91 kB / 1.181 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.4684, allocations: 108.8 kB / 1.181 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/0.4684, allocations: 19.98 kB / 1.181 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005851/0.469, allocations: 0.7423 MB / 1.182 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.469, allocations: 4.062 kB / 1.182 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/0.4718, allocations: 1.409 MB / 1.183 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006422/0.4724, allocations: 354.3 kB / 1.183 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003173/0.4727, allocations: 12 kB / 1.184 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008578/0.4736, allocations: 48.02 kB / 1.184 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.4738, allocations: 44.25 kB / 1.184 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.4738, allocations: 31.97 kB / 1.184 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002413/0.4762, allocations: 1.607 MB / 1.185 GB, free: 216 kB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4762, allocations: 0 / 1.185 GB, free: 216 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002657/0.4789, allocations: 0.9556 MB / 1.186 GB, free: 15.25 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (38): * Single equations (assignments): 32 * 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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001158/0.4801, allocations: 0.525 MB / 1.187 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003763/0.4839, allocations: 2.055 MB / 1.189 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4839, allocations: 5.375 kB / 1.189 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000861/0.4847, allocations: 338.4 kB / 1.189 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005645/0.4904, allocations: 0.9899 MB / 1.19 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00978/0.5002, allocations: 3.703 MB / 1.194 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001769/0.502, allocations: 1.674 MB / 1.195 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003154/0.5052, allocations: 0.5436 MB / 1.196 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006157/0.5058, allocations: 159.4 kB / 1.196 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of SimCode: time 1.352e-06/0.5058, allocations: 4 kB / 1.196 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of Templates: time 0.1014/0.6072, allocations: 39.43 MB / 1.234 GB, free: 14.23 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches