Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.202/1.202, allocations: 249.4 MB / 256.7 MB, free: 7.078 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009771/0.0009771, allocations: 185.2 kB / 316 MB, free: 3.605 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.103/1.103, allocations: 205.1 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008431/0.0008431, allocations: 85.31 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/5.921e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1502, allocations: 106.3 MB / 0.8845 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9273/1.077, allocations: 415.4 MB / 1.29 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/1.078, allocations: 91.47 kB / 1.29 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.04/4.118, allocations: 1.308 GB / 2.598 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003118/4.118, allocations: 93.77 kB / 2.598 GB, free: 13.87 MB / 0.9011 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.009003/4.127, allocations: 3.396 MB / 2.601 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/4.127, allocations: 12.02 kB / 2.601 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002507/4.13, allocations: 0.5578 MB / 2.602 GB, free: 9.836 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009704/4.139, allocations: 4.356 MB / 2.606 GB, free: 5.414 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/4.139, allocations: 52 kB / 2.606 GB, free: 5.363 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002905/4.14, allocations: 112 kB / 2.606 GB, free: 5.254 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002342/4.142, allocations: 1.634 MB / 2.608 GB, free: 3.617 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/4.144, allocations: 1.837 MB / 2.61 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/4.144, allocations: 3.938 kB / 2.61 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/4.144, allocations: 15.91 kB / 2.61 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/4.144, allocations: 40 kB / 2.61 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2742/4.419, allocations: 11.53 MB / 2.621 GB, free: 208.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/4.42, allocations: 1.205 MB / 2.622 GB, free: 208.6 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009158/4.421, allocations: 0.9111 MB / 2.623 GB, free: 208.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004363/4.425, allocations: 3.36 MB / 2.626 GB, free: 207 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007234/4.426, allocations: 0.65 MB / 2.627 GB, free: 206.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=98): time 2.265e-06/4.426, allocations: 0 / 2.627 GB, free: 206.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=98): time 0.003621/4.43, allocations: 2.018 MB / 2.629 GB, free: 206.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/4.43, allocations: 64.59 kB / 2.629 GB, free: 206.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002491/4.432, allocations: 2.23 MB / 2.631 GB, free: 206.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/4.432, allocations: 29.64 kB / 2.631 GB, free: 206.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007278/4.433, allocations: 0.8435 MB / 2.632 GB, free: 206.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/4.434, allocations: 334.2 kB / 2.632 GB, free: 205.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.278e-05/4.434, allocations: 0 / 2.632 GB, free: 205.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.016e-05/4.434, allocations: 364.2 kB / 2.633 GB, free: 205.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006677/4.434, allocations: 0.5493 MB / 2.633 GB, free: 205.6 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009049/4.435, allocations: 1.296 MB / 2.634 GB, free: 204.7 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/4.437, allocations: 0.8579 MB / 2.635 GB, free: 204.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/4.437, allocations: 3.875 kB / 2.635 GB, free: 204.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004201/4.441, allocations: 2.487 MB / 2.638 GB, free: 204.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000824/4.442, allocations: 5.9 MB / 2.643 GB, free: 198.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/4.442, allocations: 11.84 kB / 2.644 GB, free: 198.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000821/4.443, allocations: 446.8 kB / 2.644 GB, free: 198.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/4.444, allocations: 285.7 kB / 2.644 GB, free: 198.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/4.445, allocations: 2.067 MB / 2.646 GB, free: 197 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/4.448, allocations: 216.8 kB / 2.646 GB, free: 197 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/4.448, allocations: 103.5 kB / 2.647 GB, free: 197 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.633e-06/4.448, allocations: 0 / 2.647 GB, free: 197 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003215/4.451, allocations: 2.062 MB / 2.649 GB, free: 196.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/4.451, allocations: 14.59 kB / 2.649 GB, free: 196.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007675/4.452, allocations: 413.8 kB / 2.649 GB, free: 196.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009903/4.453, allocations: 276.6 kB / 2.649 GB, free: 196.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004861/4.458, allocations: 5.375 MB / 2.654 GB, free: 194.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/4.46, allocations: 190.9 kB / 2.655 GB, free: 194.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/4.46, allocations: 76.73 kB / 2.655 GB, free: 194.1 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003315/4.46, allocations: 154.9 kB / 2.655 GB, free: 194 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/4.461, allocations: 287.5 kB / 2.655 GB, free: 193.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/4.465, allocations: 2.331 MB / 2.657 GB, free: 193.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/4.465, allocations: 12.34 kB / 2.657 GB, free: 193.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/4.465, allocations: 0 / 2.657 GB, free: 193.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002441/4.467, allocations: 1.906 MB / 2.659 GB, free: 193.3 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005972/4.473, allocations: 3.948 MB / 2.663 GB, free: 192.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/4.473, allocations: 3.844 kB / 2.663 GB, free: 192.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008492/4.474, allocations: 169 kB / 2.663 GB, free: 192.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006999/4.475, allocations: 388.1 kB / 2.664 GB, free: 192.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.225e-05/4.475, allocations: 27.5 kB / 2.664 GB, free: 192.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/4.476, allocations: 1.912 MB / 2.666 GB, free: 191.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/4.476, allocations: 0 / 2.666 GB, free: 191.8 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003747/4.48, allocations: 2.9 MB / 2.668 GB, free: 191.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/4.481, allocations: 498.5 kB / 2.669 GB, free: 191.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003457/4.481, allocations: 3.5 kB / 2.669 GB, free: 191.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/4.482, allocations: 129.1 kB / 2.669 GB, free: 191.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/4.483, allocations: 76.36 kB / 2.669 GB, free: 191.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.924e-05/4.483, allocations: 49.14 kB / 2.669 GB, free: 191.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.001975/4.485, allocations: 1.702 MB / 2.671 GB, free: 190.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003611/4.488, allocations: 1.357 MB / 2.672 GB, free: 190.9 MB / 0.9011 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 76 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.001486/4.49, allocations: 1.041 MB / 2.673 GB, free: 190.7 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003536/4.493, allocations: 2.714 MB / 2.676 GB, free: 190.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/4.493, allocations: 0 / 2.676 GB, free: 190.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008606/4.494, allocations: 0.6928 MB / 2.676 GB, free: 190.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004032/4.498, allocations: 1.025 MB / 2.677 GB, free: 190.3 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006289/4.505, allocations: 4.059 MB / 2.681 GB, free: 189.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/4.506, allocations: 2.333 MB / 2.684 GB, free: 188.7 MB / 0.9011 GB Notification: Performance of SimCode: time 6.22e-07/4.506, allocations: 0 / 2.684 GB, free: 188.7 MB / 0.9011 GB Notification: Performance of Templates: time 0.07921/4.585, allocations: 58.93 MB / 2.741 GB, free: 187.1 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example1v1.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches