Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008007/0.0008006, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005311/0.005311, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.712/1.712, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003373, allocations: 12 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6957/0.6961, allocations: 142.4 MB / 0.955 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.06677/0.7629, allocations: 70.51 MB / 1.024 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02474/0.7876, allocations: 16.9 MB / 1.04 GB, free: 7.688 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003998/0.7917, allocations: 83.44 kB / 1.04 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00298/0.7947, allocations: 0.8647 MB / 1.041 GB, free: 6.738 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007046/0.8018, allocations: 2.172 MB / 1.043 GB, free: 4.559 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.005345/0.8071, allocations: 1.865 MB / 1.045 GB, free: 2.707 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01107/0.8182, allocations: 10.61 MB / 1.056 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006985/0.8252, allocations: 5.572 MB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006246/0.8315, allocations: 2.796 MB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004665/0.8362, allocations: 2.415 MB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005329/0.8367, allocations: 124 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003336/0.8401, allocations: 1.229 MB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007354/0.8408, allocations: 0.6104 MB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.8431, allocations: 1.61 MB / 1.07 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00513/0.8482, allocations: 4.504 MB / 1.074 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.8482, allocations: 0 / 1.074 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8482, allocations: 3.938 kB / 1.074 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.123e-05/0.8483, allocations: 0 / 1.074 GB, free: 5.086 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.006968/0.8553, allocations: 3.808 MB / 1.078 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.8553, allocations: 8.031 kB / 1.078 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/0.8581, allocations: 0.6633 MB / 1.078 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004883/0.863, allocations: 2.682 MB / 1.081 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.8632, allocations: 135.8 kB / 1.081 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002874/0.8635, allocations: 184 kB / 1.081 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003837/0.8673, allocations: 2.35 MB / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.8674, allocations: 3.938 kB / 1.084 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.8675, allocations: 87.86 kB / 1.084 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.8676, allocations: 40 kB / 1.084 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003585/0.8712, allocations: 1.943 MB / 1.086 GB, free: 8.898 MB / 0.8419 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.01323/0.8844, allocations: 11.72 MB / 1.097 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002821/0.8873, allocations: 1.413 MB / 1.098 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.8889, allocations: 1.041 MB / 1.1 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005722/0.8946, allocations: 3.767 MB / 1.103 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001452/0.8961, allocations: 0.8169 MB / 1.104 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001433/0.8976, allocations: 450.6 kB / 1.104 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=96): time 3.166e-06/0.8976, allocations: 0 / 1.104 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=96): time 0.01133/0.9089, allocations: 4.265 MB / 1.109 GB, free: 476 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.909, allocations: 64.34 kB / 1.109 GB, free: 400 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003355/0.9123, allocations: 2.86 MB / 1.111 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.9125, allocations: 57.7 kB / 1.111 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.9136, allocations: 1.431 MB / 1.113 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.9139, allocations: 339.2 kB / 1.113 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.9141, allocations: 125.6 kB / 1.113 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.9141, allocations: 301.1 kB / 1.114 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.9155, allocations: 0.6949 MB / 1.114 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.9173, allocations: 1.442 MB / 1.116 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/0.9202, allocations: 1.928 MB / 1.118 GB, free: 6.664 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.9202, allocations: 4 kB / 1.118 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005654/0.9259, allocations: 2.851 MB / 1.12 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003266/0.9262, allocations: 0.5494 MB / 1.121 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.9263, allocations: 12 kB / 1.121 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002311/0.9286, allocations: 0.6918 MB / 1.122 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.9298, allocations: 297.4 kB / 1.122 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.9315, allocations: 1.905 MB / 1.124 GB, free: 72 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.9337, allocations: 192.7 kB / 1.124 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.9338, allocations: 79.95 kB / 1.124 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.9338, allocations: 5.406 kB / 1.124 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004067/0.9379, allocations: 2.399 MB / 1.126 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.9379, allocations: 12 kB / 1.126 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008832/0.9388, allocations: 481 kB / 1.127 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.9399, allocations: 289.4 kB / 1.127 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006523/0.9465, allocations: 5.846 MB / 1.133 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/0.9485, allocations: 188.8 kB / 1.133 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.9487, allocations: 67.98 kB / 1.133 GB, free: 6.211 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001425/0.9501, allocations: 0.8351 MB / 1.134 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005382/0.9506, allocations: 296.2 kB / 1.134 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004656/0.9553, allocations: 2.363 MB / 1.136 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.9553, allocations: 12 kB / 1.136 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.9553, allocations: 0 / 1.136 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003518/0.9589, allocations: 2.057 MB / 1.138 GB, free: 0.5469 MB / 0.8887 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 postOpt removeSimpleEquations (simulation): time 0.007743/0.9666, allocations: 4.425 MB / 1.143 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.9666, allocations: 4 kB / 1.143 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007916/0.9674, allocations: 157.7 kB / 1.143 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.9685, allocations: 473.1 kB / 1.143 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.018e-05/0.9686, allocations: 27.98 kB / 1.143 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/0.9701, allocations: 1.857 MB / 1.145 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9701, allocations: 3.938 kB / 1.145 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005287/0.9754, allocations: 3.131 MB / 1.148 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009447/0.9763, allocations: 0.5089 MB / 1.149 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003505/0.9767, allocations: 16 kB / 1.149 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.9781, allocations: 155.7 kB / 1.149 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.9783, allocations: 68.89 kB / 1.149 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-05/0.9784, allocations: 39.98 kB / 1.149 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00242/0.9808, allocations: 1.955 MB / 1.151 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9808, allocations: 0 / 1.151 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003199/0.984, allocations: 1.361 MB / 1.152 GB, free: 2.191 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009044/0.985, allocations: 452.1 kB / 1.153 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005485/0.9905, allocations: 3.201 MB / 1.156 GB, free: 14.5 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.9905, allocations: 4 kB / 1.156 GB, free: 14.5 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.992, allocations: 0.7682 MB / 1.157 GB, free: 13.73 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005145/0.9971, allocations: 1.184 MB / 1.158 GB, free: 12.55 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007945/1.005, allocations: 6.114 MB / 1.164 GB, free: 6.402 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.007, allocations: 2.041 MB / 1.166 GB, free: 4.332 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002567/1.009, allocations: 0.726 MB / 1.166 GB, free: 3.602 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004396/1.01, allocations: 199.2 kB / 1.167 GB, free: 3.406 MB / 0.92 GB Notification: Performance of SimCode: time 5.31e-07/1.01, allocations: 4 kB / 1.167 GB, free: 3.402 MB / 0.92 GB Notification: Performance of Templates: time 0.08052/1.09, allocations: 51.38 MB / 1.217 GB, free: 0.7031 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches