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.299/2.299, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001468/0.001468, allocations: 169.2 kB / 498.1 MB, free: 5.77 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.658/1.658, allocations: 223.2 MB / 0.7948 GB, free: 17.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009007/0.0009007, allocations: 106.5 kB / 0.9346 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003747, allocations: 6.906 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.347, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.259/1.606, allocations: 419.9 MB / 1.633 GB, free: 7.75 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/1.607, allocations: 98.7 kB / 1.633 GB, free: 7.699 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.723/10.33, allocations: 2.39 GB / 4.023 GB, free: 86.7 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.996e-06/10.33, allocations: 0 / 4.023 GB, free: 86.7 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.001701/10.33, allocations: 259.6 kB / 4.024 GB, free: 86.45 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.03883/10.37, allocations: 9.579 MB / 4.033 GB, free: 76.8 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/10.37, allocations: 8.031 kB / 4.033 GB, free: 76.79 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009982/10.38, allocations: 1.34 MB / 4.034 GB, free: 75.44 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03776/10.42, allocations: 12.92 MB / 4.047 GB, free: 62.51 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005933/10.42, allocations: 439.1 kB / 4.047 GB, free: 62.08 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003153/10.42, allocations: 0.5857 MB / 4.048 GB, free: 61.49 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02945/10.45, allocations: 13.66 MB / 4.061 GB, free: 47.57 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000268/10.45, allocations: 22.47 kB / 4.061 GB, free: 47.55 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002559/10.45, allocations: 244 kB / 4.061 GB, free: 47.31 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.146e-05/10.45, allocations: 139.9 kB / 4.062 GB, free: 47.18 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02817/10.48, allocations: 18.39 MB / 4.079 GB, free: 28.78 MB / 1.182 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.9562/11.44, allocations: 55.55 MB / 4.134 GB, free: 168 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01746/11.46, allocations: 8.885 MB / 4.142 GB, free: 167.9 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09435/11.55, allocations: 26.37 MB / 4.168 GB, free: 161.1 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02278/11.57, allocations: 7.44 MB / 4.175 GB, free: 161 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.06052/11.63, allocations: 21.16 MB / 4.196 GB, free: 161 MB / 1.198 GB Notification: Performance of pre-optimization done (n=301): time 4.008e-05/11.63, allocations: 0 / 4.196 GB, free: 161 MB / 1.198 GB Notification: Performance of matching and sorting (n=301): time 0.05657/11.69, allocations: 22.62 MB / 4.218 GB, free: 160.4 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/11.69, allocations: 87.47 kB / 4.218 GB, free: 160.3 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02082/11.71, allocations: 7.595 MB / 4.226 GB, free: 159.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.003364/11.72, allocations: 97.14 kB / 4.226 GB, free: 159.9 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.007311/11.72, allocations: 4.038 MB / 4.23 GB, free: 159.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.00504/11.73, allocations: 1.088 MB / 4.231 GB, free: 158.5 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003025/11.73, allocations: 86.34 kB / 4.231 GB, free: 158.5 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0006822/11.73, allocations: 499.2 kB / 4.231 GB, free: 158.2 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0108/11.74, allocations: 6.199 MB / 4.237 GB, free: 158.2 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/11.75, allocations: 8.018 MB / 4.245 GB, free: 155.9 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/11.76, allocations: 7.104 MB / 4.252 GB, free: 155.8 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.741e-05/11.77, allocations: 19.16 kB / 4.252 GB, free: 155.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.0357/11.8, allocations: 16.62 MB / 4.268 GB, free: 155.1 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.005548/11.81, allocations: 25.43 MB / 4.293 GB, free: 128.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001411/11.81, allocations: 50 kB / 4.293 GB, free: 128.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06312/11.87, allocations: 10.89 MB / 4.304 GB, free: 127.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009004/11.88, allocations: 1.615 MB / 4.306 GB, free: 127.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008472/11.89, allocations: 6.347 MB / 4.312 GB, free: 124.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01533/11.9, allocations: 0.6142 MB / 4.312 GB, free: 124.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004403/11.91, allocations: 0.5401 MB / 4.313 GB, free: 124.6 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/11.91, allocations: 2.75 kB / 4.313 GB, free: 124.6 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03421/11.94, allocations: 15.96 MB / 4.328 GB, free: 124.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002355/11.94, allocations: 48.62 kB / 4.328 GB, free: 124.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06571/12.01, allocations: 10.62 MB / 4.339 GB, free: 123.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01012/12.02, allocations: 1.605 MB / 4.34 GB, free: 123.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/12.03, allocations: 10.36 MB / 4.351 GB, free: 118.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01288/12.04, allocations: 0.5738 MB / 4.351 GB, free: 118.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003335/12.05, allocations: 0.5366 MB / 4.352 GB, free: 118.6 MB / 1.198 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 () * Number of clocked 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.00981/12.06, allocations: 2.662 MB / 4.354 GB, free: 118.4 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005155/12.06, allocations: 0.7681 MB / 4.355 GB, free: 118 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03324/12.1, allocations: 13.73 MB / 4.368 GB, free: 117.5 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.723e-05/12.1, allocations: 43.05 kB / 4.368 GB, free: 117.5 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.141e-05/12.1, allocations: 0 / 4.368 GB, free: 117.5 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01986/12.12, allocations: 10.3 MB / 4.378 GB, free: 117 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05364/12.17, allocations: 24.05 MB / 4.402 GB, free: 105.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/12.17, allocations: 0 / 4.402 GB, free: 105.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005321/12.17, allocations: 0.7079 MB / 4.403 GB, free: 105.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06277/12.24, allocations: 9.929 MB / 4.412 GB, free: 104.7 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001396/12.24, allocations: 108.1 kB / 4.412 GB, free: 104.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004494/12.24, allocations: 4.308 MB / 4.417 GB, free: 101.3 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/12.24, allocations: 7.938 kB / 4.417 GB, free: 101.3 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03021/12.27, allocations: 18.6 MB / 4.435 GB, free: 92.22 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009215/12.28, allocations: 2.006 MB / 4.437 GB, free: 91.31 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004507/12.29, allocations: 72.33 kB / 4.437 GB, free: 91.27 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01075/12.3, allocations: 431.9 kB / 4.437 GB, free: 91.16 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00159/12.3, allocations: 216.5 kB / 4.437 GB, free: 91.14 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009067/12.3, allocations: 161.4 kB / 4.438 GB, free: 91.11 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.01379/12.31, allocations: 5.899 MB / 4.443 GB, free: 89.28 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.034e-06/12.31, allocations: 0 / 4.443 GB, free: 89.28 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.02861/12.34, allocations: 4.944 MB / 4.448 GB, free: 86.57 MB / 1.198 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 (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.004099/12.35, allocations: 1.278 MB / 4.449 GB, free: 85.64 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.03917/12.39, allocations: 23.63 MB / 4.473 GB, free: 65.92 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/12.39, allocations: 0 / 4.473 GB, free: 65.92 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.00919/12.4, allocations: 6.213 MB / 4.479 GB, free: 60.36 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02487/12.42, allocations: 4.607 MB / 4.483 GB, free: 57.1 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04313/12.46, allocations: 22.56 MB / 4.505 GB, free: 37.11 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008157/12.47, allocations: 5.413 MB / 4.51 GB, free: 33.18 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.02367/12.5, allocations: 5.053 MB / 4.515 GB, free: 29.25 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006906/12.5, allocations: 0.9205 MB / 4.516 GB, free: 28.59 MB / 1.198 GB Notification: Performance of SimCode: time 1.162e-06/12.5, allocations: 0 / 4.516 GB, free: 28.59 MB / 1.198 GB Notification: Performance of Templates: time 1.388/13.89, allocations: 219.9 MB / 4.731 GB, free: 168.6 MB / 1.214 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