Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [: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.188/1.188, allocations: 249.4 MB / 256.7 MB, free: 6.969 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.001024/0.001024, allocations: 188.4 kB / 316 MB, free: 3.574 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.039/1.039, allocations: 205.2 MB / 0.5667 GB, free: 15.65 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.0007804/0.0007804, allocations: 86.09 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.642e-06/6.672e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.136, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8349/0.9709, allocations: 391.4 MB / 1.267 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.9712, allocations: 95.88 kB / 1.267 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2763/1.247, allocations: 169.4 MB / 1.432 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.442e-05/1.248, allocations: 19.44 kB / 1.432 GB, free: 162.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008365/1.248, allocations: 0.7313 MB / 1.433 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/1.248, allocations: 12.03 kB / 1.433 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.632e-05/1.249, allocations: 51.34 kB / 1.433 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/1.249, allocations: 424 kB / 1.434 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/1.249, allocations: 4 kB / 1.434 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/1.249, allocations: 20 kB / 1.434 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002081/1.249, allocations: 132.8 kB / 1.434 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/1.25, allocations: 166.4 kB / 1.434 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.25, allocations: 0 / 1.434 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/1.25, allocations: 4 kB / 1.434 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/1.25, allocations: 11.91 kB / 1.434 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009687/1.251, allocations: 0.8649 MB / 1.435 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/1.251, allocations: 106.6 kB / 1.435 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/1.251, allocations: 56.83 kB / 1.435 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/1.251, allocations: 340.3 kB / 1.435 GB, free: 159 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.137e-05/1.251, allocations: 38.56 kB / 1.435 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 2.716e-06/1.251, allocations: 0 / 1.435 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0003463/1.251, allocations: 157.1 kB / 1.435 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.434e-05/1.251, allocations: 59.41 kB / 1.435 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/1.252, allocations: 353.2 kB / 1.436 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/1.252, allocations: 25.7 kB / 1.436 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/1.252, allocations: 168.3 kB / 1.436 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/1.252, allocations: 51.3 kB / 1.436 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/1.252, allocations: 3.938 kB / 1.436 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.062e-05/1.252, allocations: 350.8 kB / 1.436 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.589e-05/1.252, allocations: 47.98 kB / 1.436 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/1.252, allocations: 161.3 kB / 1.437 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/1.252, allocations: 74.14 kB / 1.437 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.252, allocations: 0 / 1.437 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003273/1.253, allocations: 217 kB / 1.437 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/1.253, allocations: 274.9 kB / 1.437 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/1.253, allocations: 0 / 1.437 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/1.253, allocations: 4 kB / 1.437 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/1.253, allocations: 47.91 kB / 1.437 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/1.253, allocations: 7.984 kB / 1.437 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/1.253, allocations: 43.8 kB / 1.437 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/1.253, allocations: 12 kB / 1.437 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/1.253, allocations: 5.25 kB / 1.437 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002691/1.254, allocations: 139.8 kB / 1.437 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-06/1.254, allocations: 0 / 1.437 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-06/1.254, allocations: 4 kB / 1.437 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/1.254, allocations: 51.91 kB / 1.437 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-06/1.254, allocations: 0 / 1.437 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/1.254, allocations: 39.81 kB / 1.437 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/1.254, allocations: 19.98 kB / 1.437 GB, free: 156.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/1.254, allocations: 112.8 kB / 1.438 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/1.254, allocations: 39.53 kB / 1.438 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/1.255, allocations: 218.2 kB / 1.438 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.255, allocations: 4 kB / 1.438 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/1.255, allocations: 0 / 1.438 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.255, allocations: 0 / 1.438 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006503/1.255, allocations: 0.6261 MB / 1.438 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/1.255, allocations: 8.125 kB / 1.438 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/1.256, allocations: 35.83 kB / 1.438 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/1.256, allocations: 7.938 kB / 1.438 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/1.256, allocations: 4.188 kB / 1.438 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.256, allocations: 4 kB / 1.438 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.256, allocations: 0 / 1.438 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002873/1.256, allocations: 353.1 kB / 1.439 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/1.256, allocations: 144.6 kB / 1.439 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/1.256, allocations: 11.84 kB / 1.439 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/1.256, allocations: 23.97 kB / 1.439 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/1.256, allocations: 11.98 kB / 1.439 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/1.256, allocations: 12 kB / 1.439 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001953/1.257, allocations: 275.2 kB / 1.439 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006087/1.257, allocations: 231.4 kB / 1.439 GB, free: 154.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007394/1.258, allocations: 497.2 kB / 1.44 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003204/1.258, allocations: 238.2 kB / 1.44 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/1.258, allocations: 0 / 1.44 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.599e-05/1.258, allocations: 71.84 kB / 1.44 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009028/1.259, allocations: 178 kB / 1.44 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007614/1.26, allocations: 0.4997 MB / 1.441 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/1.26, allocations: 0.8737 MB / 1.442 GB, free: 152 MB / 0.8698 GB Notification: Performance of SimCode: time 2.7e-07/1.26, allocations: 0 / 1.442 GB, free: 152 MB / 0.8698 GB Notification: Performance of Templates: time 0.01193/1.272, allocations: 9.199 MB / 1.451 GB, free: 143 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches