Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Example1v2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 92.31 kB / 16.02 MB, free: 80 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.001425/0.001425, allocations: 179.2 kB / 16.92 MB, free: 6.652 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.397/1.397, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003594, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.796/0.7964, allocations: 142.4 MB / 0.9557 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.1/0.8964, allocations: 78.64 MB / 1.033 GB, free: 488 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02986/0.9263, allocations: 19.14 MB / 1.051 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004746/0.9311, allocations: 91.38 kB / 1.051 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003791/0.9349, allocations: 0.9852 MB / 1.052 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.008673/0.9437, allocations: 2.57 MB / 1.055 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.006417/0.9501, allocations: 2.158 MB / 1.057 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0393/0.9894, allocations: 35.98 MB / 1.092 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02356/1.013, allocations: 14.93 MB / 1.107 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02009/1.033, allocations: 9.152 MB / 1.116 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02301/1.056, allocations: 11.28 MB / 1.127 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.005012/1.061, allocations: 0.8124 MB / 1.127 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01187/1.073, allocations: 2.06 MB / 1.129 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.01037/1.084, allocations: 3.021 MB / 1.132 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.02031/1.104, allocations: 5.799 MB / 1.138 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.02287/1.127, allocations: 13.93 MB / 1.152 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.127, allocations: 0 / 1.152 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.785e-06/1.127, allocations: 0 / 1.152 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0006345/1.128, allocations: 0 / 1.152 GB, free: 6.168 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03752/1.165, allocations: 12.95 MB / 1.164 GB, free: 9.109 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.165, allocations: 12.03 kB / 1.164 GB, free: 9.098 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00899/1.174, allocations: 1.374 MB / 1.166 GB, free: 7.711 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02469/1.199, allocations: 10.05 MB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005957/1.2, allocations: 448 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004025/1.204, allocations: 0.5779 MB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03655/1.24, allocations: 14.66 MB / 1.191 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002116/1.24, allocations: 19.78 kB / 1.191 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003166/1.244, allocations: 243.9 kB / 1.191 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/1.244, allocations: 139.9 kB / 1.191 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03803/1.282, allocations: 19.84 MB / 1.21 GB, free: 9.371 MB / 0.9669 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 1.216/2.498, allocations: 66.21 MB / 1.275 GB, free: 244.5 MB / 0.9982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01461/2.512, allocations: 9.238 MB / 1.284 GB, free: 239.2 MB / 0.9982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01205/2.524, allocations: 8.625 MB / 1.293 GB, free: 234.2 MB / 0.9982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05467/2.579, allocations: 30.65 MB / 1.322 GB, free: 212.6 MB / 0.9982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00948/2.589, allocations: 7.682 MB / 1.33 GB, free: 204.9 MB / 0.9982 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02782/2.616, allocations: 11.76 MB / 1.341 GB, free: 193.4 MB / 0.9982 GB Notification: Performance of pre-optimization done (n=300): time 3.55e-05/2.616, allocations: 0 / 1.341 GB, free: 193.4 MB / 0.9982 GB Notification: Performance of matching and sorting (n=300): time 0.05206/2.669, allocations: 23.97 MB / 1.365 GB, free: 169.6 MB / 0.9982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/2.669, allocations: 81.77 kB / 1.365 GB, free: 169.5 MB / 0.9982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01162/2.68, allocations: 8.034 MB / 1.373 GB, free: 161.5 MB / 0.9982 GB Notification: Performance of collectPreVariables (initialization): time 0.00233/2.683, allocations: 98.88 kB / 1.373 GB, free: 161.4 MB / 0.9982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003561/2.686, allocations: 4.066 MB / 1.377 GB, free: 157.3 MB / 0.9982 GB Notification: Performance of collectInitialBindings (initialization): time 0.003057/2.689, allocations: 1.081 MB / 1.378 GB, free: 156.2 MB / 0.9982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001698/2.691, allocations: 379.5 kB / 1.378 GB, free: 155.8 MB / 0.9982 GB Notification: Performance of setup shared object (initialization): time 5.239e-05/2.691, allocations: 309.1 kB / 1.379 GB, free: 155.5 MB / 0.9982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008718/2.7, allocations: 6.555 MB / 1.385 GB, free: 149 MB / 0.9982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/2.71, allocations: 8.358 MB / 1.393 GB, free: 139.8 MB / 0.9982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02074/2.731, allocations: 15.31 MB / 1.408 GB, free: 123.8 MB / 0.9982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-05/2.731, allocations: 15.17 kB / 1.408 GB, free: 123.8 MB / 0.9982 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.03643/2.767, allocations: 17.75 MB / 1.425 GB, free: 105.9 MB / 0.9982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007466/2.768, allocations: 1.564 MB / 1.427 GB, free: 103.7 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-05/2.768, allocations: 48.5 kB / 1.427 GB, free: 103.7 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06928/2.837, allocations: 11.39 MB / 1.438 GB, free: 92.3 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009079/2.846, allocations: 1.561 MB / 1.44 GB, free: 90.73 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007695/2.854, allocations: 6.47 MB / 1.446 GB, free: 84.05 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0125/2.867, allocations: 0.5268 MB / 1.446 GB, free: 83.53 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00309/2.87, allocations: 0.5461 MB / 1.447 GB, free: 82.98 MB / 0.9982 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/2.87, allocations: 5.25 kB / 1.447 GB, free: 82.98 MB / 0.9982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03153/2.901, allocations: 16.87 MB / 1.464 GB, free: 66.03 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/2.902, allocations: 51.25 kB / 1.464 GB, free: 65.98 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06853/2.97, allocations: 10.93 MB / 1.474 GB, free: 55.07 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009775/2.98, allocations: 1.569 MB / 1.476 GB, free: 53.5 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/2.992, allocations: 10.37 MB / 1.486 GB, free: 42.69 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01225/3.004, allocations: 0.5076 MB / 1.486 GB, free: 42.18 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003335/3.008, allocations: 0.5421 MB / 1.487 GB, free: 41.63 MB / 0.9982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * 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 (527): * Single equations (assignments): 521 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.008568/3.016, allocations: 2.66 MB / 1.49 GB, free: 38.96 MB / 0.9982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00329/3.019, allocations: 0.764 MB / 1.49 GB, free: 38.19 MB / 0.9982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02572/3.045, allocations: 14.23 MB / 1.504 GB, free: 23.93 MB / 0.9982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-05/3.045, allocations: 36 kB / 1.504 GB, free: 23.89 MB / 0.9982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/3.045, allocations: 8 kB / 1.504 GB, free: 23.88 MB / 0.9982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01608/3.061, allocations: 10.81 MB / 1.515 GB, free: 12.98 MB / 0.9982 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.04462/3.106, allocations: 24.61 MB / 1.539 GB, free: 4.312 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/3.106, allocations: 7.984 kB / 1.539 GB, free: 4.305 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00574/3.112, allocations: 0.7001 MB / 1.539 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06869/3.181, allocations: 10.27 MB / 1.549 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001403/3.182, allocations: 103.9 kB / 1.55 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005562/3.188, allocations: 4.704 MB / 1.554 GB, free: 4.355 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/3.188, allocations: 4 kB / 1.554 GB, free: 4.352 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03235/3.22, allocations: 19.37 MB / 1.573 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007434/3.227, allocations: 1.947 MB / 1.575 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003432/3.231, allocations: 71.98 kB / 1.575 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008475/3.239, allocations: 407 kB / 1.575 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001549/3.241, allocations: 226.2 kB / 1.576 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001266/3.242, allocations: 163.8 kB / 1.576 GB, free: 14.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.01294/3.255, allocations: 5.531 MB / 1.581 GB, free: 8.562 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.61e-07/3.255, allocations: 0 / 1.581 GB, free: 8.562 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.02479/3.28, allocations: 4.843 MB / 1.586 GB, free: 3.742 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].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 (304): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (2,5), (20,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002906/3.283, allocations: 0.584 MB / 1.587 GB, free: 3.211 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.04745/3.331, allocations: 24.07 MB / 1.61 GB, free: 11.08 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/3.331, allocations: 0 / 1.61 GB, free: 11.08 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.01251/3.343, allocations: 6.425 MB / 1.616 GB, free: 4.641 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03033/3.373, allocations: 4.668 MB / 1.621 GB, free: 64 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04834/3.422, allocations: 24.02 MB / 1.644 GB, free: 8.02 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006958/3.429, allocations: 5.247 MB / 1.649 GB, free: 2.738 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007328/3.436, allocations: 0.9398 MB / 1.65 GB, free: 1.797 MB / 1.123 GB Notification: Performance of SimCode: time 3.647e-06/3.436, allocations: 4 kB / 1.65 GB, free: 1.793 MB / 1.123 GB Notification: Performance of Templates: time 0.9654/4.402, allocations: 350.6 MB / 1.993 GB, free: 107.1 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example1v2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches