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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 172.8 kB / 487.4 MB, free: 5.043 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 91.8 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.816e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2842, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.431, allocations: 419.1 MB / 1.615 GB, free: 2.629 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/1.431, allocations: 100 kB / 1.615 GB, free: 2.578 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 10.37/11.8, allocations: 2.37 GB / 3.985 GB, free: 177.5 MB / 1.182 GB Notification: Performance of FrontEnd: time 3.356e-06/11.8, allocations: 0 / 3.985 GB, free: 177.5 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.00266/11.8, allocations: 266.2 kB / 3.985 GB, free: 177.5 MB / 1.182 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.04298/11.85, allocations: 7.355 MB / 3.993 GB, free: 175.3 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.672e-05/11.85, allocations: 13.03 kB / 3.993 GB, free: 175.3 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/11.86, allocations: 1.338 MB / 3.994 GB, free: 174.8 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04472/11.91, allocations: 12.83 MB / 4.006 GB, free: 173.6 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005578/11.91, allocations: 177.4 kB / 4.007 GB, free: 173.6 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004865/11.91, allocations: 354.5 kB / 4.007 GB, free: 173.6 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0373/11.95, allocations: 17.77 MB / 4.024 GB, free: 173.6 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04301/11.99, allocations: 12.55 MB / 4.037 GB, free: 172.8 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005929/11.99, allocations: 27.19 kB / 4.037 GB, free: 172.8 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004312/12, allocations: 7.75 kB / 4.037 GB, free: 172.8 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/12, allocations: 145.1 kB / 4.037 GB, free: 172.8 MB / 1.182 GB Warning: The model contains alias variables with conflicting start and/or 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.1151/12.11, allocations: 54.64 MB / 4.09 GB, free: 154 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/12.13, allocations: 8.651 MB / 4.099 GB, free: 153.9 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01308/12.14, allocations: 9.2 MB / 4.108 GB, free: 153.6 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05907/12.2, allocations: 26.29 MB / 4.133 GB, free: 146.2 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01244/12.21, allocations: 7.223 MB / 4.14 GB, free: 146.1 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05596/12.27, allocations: 21.05 MB / 4.161 GB, free: 145.2 MB / 1.182 GB Notification: Performance of pre-optimization done (n=301): time 8.066e-05/12.27, allocations: 0 / 4.161 GB, free: 145.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=301): time 0.04388/12.31, allocations: 15.06 MB / 4.176 GB, free: 144.5 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.679e-05/12.31, allocations: 88.08 kB / 4.176 GB, free: 144.5 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02063/12.33, allocations: 6.509 MB / 4.182 GB, free: 144 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.003298/12.34, allocations: 32.02 kB / 4.182 GB, free: 144 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.007574/12.34, allocations: 4.039 MB / 4.186 GB, free: 142.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.005064/12.35, allocations: 1.041 MB / 4.187 GB, free: 142 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003134/12.35, allocations: 0 / 4.187 GB, free: 142 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0005889/12.35, allocations: 497 kB / 4.187 GB, free: 141.7 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009622/12.36, allocations: 6.028 MB / 4.193 GB, free: 141.6 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01101/12.37, allocations: 7.798 MB / 4.201 GB, free: 139.4 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/12.39, allocations: 7.548 MB / 4.208 GB, free: 139.2 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.15e-05/12.39, allocations: 16.67 kB / 4.208 GB, free: 139.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04051/12.43, allocations: 16.59 MB / 4.225 GB, free: 135.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.005998/12.44, allocations: 24.72 MB / 4.249 GB, free: 109.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001582/12.44, allocations: 50.83 kB / 4.249 GB, free: 109.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004344/12.44, allocations: 1.546 MB / 4.25 GB, free: 109.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009405/12.45, allocations: 1.62 MB / 4.252 GB, free: 109.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/12.46, allocations: 6.943 MB / 4.259 GB, free: 105.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0144/12.48, allocations: 0.51 MB / 4.259 GB, free: 105.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003588/12.48, allocations: 0.5454 MB / 4.26 GB, free: 105.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/12.48, allocations: 9.328 kB / 4.26 GB, free: 105.2 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04043/12.52, allocations: 15.76 MB / 4.275 GB, free: 99.79 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003132/12.52, allocations: 47.31 kB / 4.275 GB, free: 99.79 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004056/12.53, allocations: 1.417 MB / 4.276 GB, free: 99.52 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009825/12.54, allocations: 1.607 MB / 4.278 GB, free: 99.49 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01822/12.55, allocations: 10.51 MB / 4.288 GB, free: 93.13 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01502/12.57, allocations: 495.8 kB / 4.289 GB, free: 93.03 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004197/12.57, allocations: 0.5355 MB / 4.289 GB, free: 93 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.006857/12.58, allocations: 271.3 kB / 4.29 GB, free: 92.83 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006761/12.59, allocations: 0.7067 MB / 4.29 GB, free: 92.45 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03575/12.62, allocations: 13.78 MB / 4.304 GB, free: 86.97 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.649e-05/12.62, allocations: 37.86 kB / 4.304 GB, free: 86.97 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-05/12.62, allocations: 0 / 4.304 GB, free: 86.97 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02032/12.64, allocations: 10.47 MB / 4.314 GB, free: 81.93 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05058/12.69, allocations: 23.54 MB / 4.337 GB, free: 62.15 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/12.69, allocations: 0 / 4.337 GB, free: 62.15 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005707/12.7, allocations: 0.7077 MB / 4.338 GB, free: 61.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/12.7, allocations: 0.7002 MB / 4.338 GB, free: 61 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001201/12.7, allocations: 75.94 kB / 4.338 GB, free: 60.95 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008372/12.71, allocations: 4.994 MB / 4.343 GB, free: 56.16 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/12.71, allocations: 4.156 kB / 4.343 GB, free: 56.16 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03291/12.74, allocations: 18.49 MB / 4.361 GB, free: 39.42 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008192/12.75, allocations: 1.946 MB / 4.363 GB, free: 37.79 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004747/12.76, allocations: 15.38 kB / 4.363 GB, free: 37.78 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01034/12.77, allocations: 373 kB / 4.364 GB, free: 37.52 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001577/12.77, allocations: 214 kB / 4.364 GB, free: 37.39 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001441/12.77, allocations: 163.1 kB / 4.364 GB, free: 37.27 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.01219/12.78, allocations: 4.939 MB / 4.369 GB, free: 33.1 MB / 1.182 GB Notification: Performance of sort global known variables: time 4.91e-07/12.78, allocations: 4 kB / 4.369 GB, free: 33.1 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.03331/12.82, allocations: 5.029 MB / 4.374 GB, free: 28.08 MB / 1.182 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004695/12.82, allocations: 1.198 MB / 4.375 GB, free: 27.14 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.03826/12.86, allocations: 23.07 MB / 4.397 GB, free: 7.27 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/12.86, allocations: 4 kB / 4.397 GB, free: 7.266 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.008934/12.87, allocations: 6.019 MB / 4.403 GB, free: 1.691 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03105/12.9, allocations: 4.498 MB / 4.408 GB, free: 0 / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04624/12.95, allocations: 16.91 MB / 4.424 GB, free: 1.285 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.8456/13.79, allocations: 5.453 MB / 4.429 GB, free: 174.3 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.03726/13.83, allocations: 7.454 MB / 4.437 GB, free: 174.3 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006496/13.84, allocations: 0.7509 MB / 4.437 GB, free: 174.3 MB / 1.198 GB Notification: Performance of SimCode: time 1.633e-06/13.84, allocations: 0.9062 kB / 4.437 GB, free: 174.3 MB / 1.198 GB Notification: Performance of Templates: time 0.3348/14.17, allocations: 198.7 MB / 4.632 GB, free: 150.2 MB / 1.198 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","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches