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.00776/0.00776, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001657/0.001657, allocations: 196.6 kB / 16.68 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.571/2.571, allocations: 472.6 MB / 0.7453 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 67.89 kB / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8607/0.8623, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02708/0.8894, allocations: 30.08 MB / 1.255 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01638/0.9058, allocations: 11.71 MB / 1.266 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/0.9081, allocations: 43.75 kB / 1.266 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004776/0.913, allocations: 1.502 MB / 1.268 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004553/0.9176, allocations: 1.613 MB / 1.269 GB, free: 456 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003607/0.9212, allocations: 1.467 MB / 1.271 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00878/0.93, allocations: 6.738 MB / 1.278 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/0.932, allocations: 1.396 MB / 1.279 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003103/0.9351, allocations: 1.484 MB / 1.28 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.9366, allocations: 1.113 MB / 1.281 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002126/0.9368, allocations: 128 kB / 1.282 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.9394, allocations: 1.31 MB / 1.283 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000542/0.9399, allocations: 0.5295 MB / 1.283 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009783/0.9409, allocations: 0.9716 MB / 1.284 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003904/0.9448, allocations: 3.052 MB / 1.287 GB, free: 14.19 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.9448, allocations: 0 / 1.287 GB, free: 14.19 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9448, allocations: 4 kB / 1.287 GB, free: 14.18 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.809e-05/0.9449, allocations: 0 / 1.287 GB, free: 14.18 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.00384/0.9487, allocations: 2.43 MB / 1.29 GB, free: 11.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.37e-05/0.9488, allocations: 15.98 kB / 1.29 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/0.9508, allocations: 394.3 kB / 1.29 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004795/0.9556, allocations: 2.412 MB / 1.292 GB, free: 8.816 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.06e-05/0.9557, allocations: 62 kB / 1.292 GB, free: 8.758 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.9559, allocations: 92 kB / 1.293 GB, free: 8.668 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.9577, allocations: 1.009 MB / 1.294 GB, free: 7.598 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.9577, allocations: 3.938 kB / 1.294 GB, free: 7.594 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.703e-05/0.9578, allocations: 32 kB / 1.294 GB, free: 7.562 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.9578, allocations: 20 kB / 1.294 GB, free: 7.543 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.9594, allocations: 0.7493 MB / 1.294 GB, free: 6.793 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.005913/0.9654, allocations: 5.26 MB / 1.299 GB, free: 1.203 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.9666, allocations: 0.5587 MB / 1.3 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006652/0.9673, allocations: 332 kB / 1.3 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002232/0.9696, allocations: 1.65 MB / 1.302 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000716/0.9703, allocations: 322.9 kB / 1.302 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003101/0.9706, allocations: 67.45 kB / 1.302 GB, free: 14.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 2.335e-06/0.9706, allocations: 0 / 1.302 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.003221/0.9739, allocations: 1.239 MB / 1.303 GB, free: 12.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.9739, allocations: 63.19 kB / 1.304 GB, free: 12.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/0.9762, allocations: 1.869 MB / 1.305 GB, free: 10.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.206e-05/0.9763, allocations: 41.7 kB / 1.305 GB, free: 10.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006397/0.9769, allocations: 0.796 MB / 1.306 GB, free: 10 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.9771, allocations: 158.7 kB / 1.306 GB, free: 9.848 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003295/0.9774, allocations: 266.4 kB / 1.307 GB, free: 9.582 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.9775, allocations: 353.9 kB / 1.307 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008486/0.9784, allocations: 464.9 kB / 1.307 GB, free: 8.773 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.9795, allocations: 0.8315 MB / 1.308 GB, free: 7.777 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.9813, allocations: 1.161 MB / 1.309 GB, free: 6.504 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.9813, allocations: 0 / 1.309 GB, free: 6.504 MB / 1.029 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003064/0.9844, allocations: 1.605 MB / 1.311 GB, free: 4.875 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.9844, allocations: 37.64 kB / 1.311 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.9845, allocations: 8 kB / 1.311 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006622/0.9851, allocations: 192.9 kB / 1.311 GB, free: 4.633 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/0.9858, allocations: 191.7 kB / 1.311 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000719/0.9866, allocations: 0.7823 MB / 1.312 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.9877, allocations: 68.23 kB / 1.312 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.9878, allocations: 47.98 kB / 1.312 GB, free: 3.523 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001384/0.9892, allocations: 0.8613 MB / 1.313 GB, free: 2.656 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001006/0.9902, allocations: 0.8162 MB / 1.314 GB, free: 1.684 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00156/0.9918, allocations: 1.121 MB / 1.315 GB, free: 452 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.028e-05/0.9918, allocations: 8 kB / 1.315 GB, free: 444 kB / 1.029 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002739/0.9946, allocations: 1.592 MB / 1.316 GB, free: 14.8 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.9946, allocations: 33.7 kB / 1.317 GB, free: 14.76 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.9947, allocations: 11.94 kB / 1.317 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/0.9949, allocations: 109.3 kB / 1.317 GB, free: 14.64 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/0.9956, allocations: 195.7 kB / 1.317 GB, free: 14.45 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.9977, allocations: 2.353 MB / 1.319 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.9989, allocations: 76.02 kB / 1.319 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.433e-05/0.999, allocations: 44.11 kB / 1.319 GB, free: 11.83 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.0002581/0.9992, allocations: 243.9 kB / 1.319 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/0.9996, allocations: 182.8 kB / 1.32 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/1.002, allocations: 0.9081 MB / 1.321 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.002, allocations: 4 kB / 1.321 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/1.002, allocations: 0 / 1.321 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001535/1.003, allocations: 0.8998 MB / 1.321 GB, free: 9.508 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003799/1.007, allocations: 2.002 MB / 1.323 GB, free: 7.434 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/1.007, allocations: 0 / 1.323 GB, free: 7.434 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/1.008, allocations: 83.94 kB / 1.323 GB, free: 7.352 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003079/1.008, allocations: 128.7 kB / 1.324 GB, free: 7.223 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/1.008, allocations: 12 kB / 1.324 GB, free: 7.211 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006023/1.009, allocations: 0.7512 MB / 1.324 GB, free: 6.434 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.009, allocations: 0 / 1.324 GB, free: 6.434 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/1.011, allocations: 1.246 MB / 1.326 GB, free: 5.156 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006059/1.012, allocations: 323.9 kB / 1.326 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003386/1.012, allocations: 12 kB / 1.326 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000823/1.013, allocations: 35.95 kB / 1.326 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/1.013, allocations: 43.94 kB / 1.326 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/1.013, allocations: 15.98 kB / 1.326 GB, free: 4.715 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002176/1.015, allocations: 1.273 MB / 1.327 GB, free: 3.418 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.61e-07/1.015, allocations: 0 / 1.327 GB, free: 3.418 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002468/1.018, allocations: 0.8189 MB / 1.328 GB, free: 2.598 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.001317/1.019, allocations: 0.517 MB / 1.328 GB, free: 2.078 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003617/1.023, allocations: 1.867 MB / 1.33 GB, free: 180 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.023, allocations: 4 kB / 1.33 GB, free: 176 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008333/1.024, allocations: 333.3 kB / 1.331 GB, free: 15.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/1.027, allocations: 0.7969 MB / 1.331 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006082/1.033, allocations: 3.042 MB / 1.334 GB, free: 11.99 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/1.034, allocations: 1.448 MB / 1.336 GB, free: 10.51 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001613/1.036, allocations: 433.2 kB / 1.336 GB, free: 10.08 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004007/1.036, allocations: 139.4 kB / 1.336 GB, free: 9.945 MB / 1.061 GB Notification: Performance of SimCode: time 8.01e-07/1.036, allocations: 0 / 1.336 GB, free: 9.945 MB / 1.061 GB Notification: Performance of Templates: time 0.05183/1.088, allocations: 33.59 MB / 1.369 GB, free: 8.75 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