Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001105/0.001104, allocations: 176.9 kB / 492.3 MB, free: 0.6133 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.558/1.558, allocations: 221.3 MB / 0.7872 GB, free: 12.88 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.0009262/0.000926, allocations: 84.02 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.916e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3016, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.59, allocations: 402.7 MB / 1.606 GB, free: 10.86 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/1.59, allocations: 90.45 kB / 1.606 GB, free: 10.82 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.721/3.311, allocations: 492.1 MB / 2.086 GB, free: 111.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.603e-06/3.311, allocations: 0 / 2.086 GB, free: 111.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001645/3.311, allocations: 35.98 kB / 2.086 GB, free: 111.1 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002924/3.314, allocations: 1.521 MB / 2.088 GB, free: 109.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/3.314, allocations: 8.031 kB / 2.088 GB, free: 109.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/3.316, allocations: 333.8 kB / 2.088 GB, free: 109.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004063/3.32, allocations: 1.967 MB / 2.09 GB, free: 107.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.345e-05/3.32, allocations: 65.98 kB / 2.09 GB, free: 107.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/3.32, allocations: 95.98 kB / 2.09 GB, free: 107 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/3.322, allocations: 0.927 MB / 2.091 GB, free: 106 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/3.322, allocations: 4 kB / 2.091 GB, free: 106 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-05/3.322, allocations: 32 kB / 2.091 GB, free: 106 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/3.322, allocations: 16 kB / 2.091 GB, free: 106 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009789/3.323, allocations: 0.6558 MB / 2.092 GB, free: 105.3 MB / 1.151 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.005108/3.328, allocations: 4.651 MB / 2.096 GB, free: 100.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007655/3.329, allocations: 0.5494 MB / 2.097 GB, free: 99.84 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/3.329, allocations: 294.1 kB / 2.097 GB, free: 99.55 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002342/3.331, allocations: 1.729 MB / 2.099 GB, free: 97.68 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000424/3.332, allocations: 322.2 kB / 2.099 GB, free: 97.36 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004493/3.332, allocations: 119.3 kB / 2.099 GB, free: 97.24 MB / 1.151 GB Notification: Performance of pre-optimization done (n=46): time 2.194e-06/3.332, allocations: 0 / 2.099 GB, free: 97.24 MB / 1.151 GB Notification: Performance of matching and sorting (n=46): time 0.001093/3.333, allocations: 0.6564 MB / 2.1 GB, free: 96.57 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/3.333, allocations: 59.41 kB / 2.1 GB, free: 96.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/3.335, allocations: 1.113 MB / 2.101 GB, free: 95.38 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.534e-05/3.335, allocations: 41.7 kB / 2.101 GB, free: 95.33 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/3.335, allocations: 0.6374 MB / 2.102 GB, free: 94.69 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/3.335, allocations: 165.7 kB / 2.102 GB, free: 94.52 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/3.335, allocations: 8 kB / 2.102 GB, free: 94.52 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/3.335, allocations: 334 kB / 2.102 GB, free: 94.18 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/3.336, allocations: 209.5 kB / 2.102 GB, free: 93.98 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/3.336, allocations: 0.5493 MB / 2.103 GB, free: 93.27 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/3.336, allocations: 317.2 kB / 2.103 GB, free: 92.96 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/3.336, allocations: 0 / 2.103 GB, free: 92.96 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001284/3.338, allocations: 0.9613 MB / 2.104 GB, free: 91.98 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000549/3.338, allocations: 3.05 MB / 2.107 GB, free: 88.74 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/3.338, allocations: 8 kB / 2.107 GB, free: 88.73 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003275/3.339, allocations: 140.7 kB / 2.107 GB, free: 88.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000585/3.339, allocations: 159.7 kB / 2.107 GB, free: 88.43 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005638/3.34, allocations: 0.763 MB / 2.108 GB, free: 87.64 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009762/3.341, allocations: 95.78 kB / 2.108 GB, free: 87.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-05/3.341, allocations: 39.98 kB / 2.108 GB, free: 87.51 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/3.341, allocations: 4 kB / 2.108 GB, free: 87.51 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001151/3.342, allocations: 0.8625 MB / 2.109 GB, free: 86.61 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/3.342, allocations: 15.97 kB / 2.109 GB, free: 86.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/3.342, allocations: 104.8 kB / 2.109 GB, free: 86.49 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/3.343, allocations: 147.8 kB / 2.109 GB, free: 86.35 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/3.344, allocations: 2.204 MB / 2.112 GB, free: 83.98 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009228/3.345, allocations: 87.84 kB / 2.112 GB, free: 83.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/3.345, allocations: 40 kB / 2.112 GB, free: 83.86 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001887/3.346, allocations: 152.8 kB / 2.112 GB, free: 83.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/3.346, allocations: 126.4 kB / 2.112 GB, free: 83.58 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/3.347, allocations: 0.8356 MB / 2.113 GB, free: 82.73 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/3.347, allocations: 4 kB / 2.113 GB, free: 82.72 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/3.347, allocations: 0 / 2.113 GB, free: 82.72 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008437/3.348, allocations: 0.8357 MB / 2.114 GB, free: 81.82 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/3.351, allocations: 1.83 MB / 2.115 GB, free: 79.91 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/3.351, allocations: 8.109 kB / 2.115 GB, free: 79.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/3.352, allocations: 99.8 kB / 2.116 GB, free: 79.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002631/3.352, allocations: 120.6 kB / 2.116 GB, free: 79.68 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/3.352, allocations: 20.05 kB / 2.116 GB, free: 79.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005301/3.352, allocations: 0.7449 MB / 2.116 GB, free: 78.89 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/3.352, allocations: 3.938 kB / 2.116 GB, free: 78.89 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/3.354, allocations: 1.158 MB / 2.118 GB, free: 77.68 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006457/3.355, allocations: 267.4 kB / 2.118 GB, free: 77.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/3.355, allocations: 16 kB / 2.118 GB, free: 77.39 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006904/3.355, allocations: 87.77 kB / 2.118 GB, free: 77.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/3.356, allocations: 40.33 kB / 2.118 GB, free: 77.26 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/3.356, allocations: 23.98 kB / 2.118 GB, free: 77.24 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001176/3.357, allocations: 0.8685 MB / 2.119 GB, free: 76.37 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/3.357, allocations: 4 kB / 2.119 GB, free: 76.36 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00259/3.359, allocations: 0.7176 MB / 2.119 GB, free: 75.64 MB / 1.151 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001493/3.361, allocations: 0.7644 MB / 2.12 GB, free: 74.88 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002278/3.363, allocations: 1.288 MB / 2.121 GB, free: 73.56 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/3.363, allocations: 0 / 2.121 GB, free: 73.56 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005429/3.364, allocations: 306.3 kB / 2.122 GB, free: 73.26 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/3.367, allocations: 0.5566 MB / 2.122 GB, free: 72.71 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/3.37, allocations: 1.719 MB / 2.124 GB, free: 70.96 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006908/3.371, allocations: 1.301 MB / 2.125 GB, free: 69.62 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002099/3.373, allocations: 0.5685 MB / 2.126 GB, free: 69.05 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/3.373, allocations: 79.41 kB / 2.126 GB, free: 68.97 MB / 1.151 GB Notification: Performance of SimCode: time 1.684e-06/3.373, allocations: 4 kB / 2.126 GB, free: 68.96 MB / 1.151 GB Notification: Performance of Templates: time 0.04728/3.42, allocations: 31.27 MB / 2.156 GB, free: 37.94 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example2.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches