Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [: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.166/1.166, allocations: 249.4 MB / 256.7 MB, free: 7.055 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.000948/0.000948, allocations: 184.2 kB / 316 MB, free: 3.586 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.019/1.019, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.0008434/0.0008434, allocations: 96.39 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.095e-06/8.196e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1314, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8081/0.9396, allocations: 395.9 MB / 1.271 GB, free: 322.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.9399, allocations: 98.94 kB / 1.271 GB, free: 322.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2764/1.216, allocations: 169.9 MB / 1.437 GB, free: 179 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.312e-05/1.216, allocations: 19.92 kB / 1.437 GB, free: 179 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008519/1.217, allocations: 0.7708 MB / 1.438 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/1.217, allocations: 12.03 kB / 1.438 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/1.217, allocations: 59.25 kB / 1.438 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/1.218, allocations: 469.2 kB / 1.438 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/1.218, allocations: 8 kB / 1.438 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/1.218, allocations: 20 kB / 1.438 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002406/1.218, allocations: 149 kB / 1.439 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/1.219, allocations: 234.6 kB / 1.439 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.219, allocations: 0 / 1.439 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/1.219, allocations: 0 / 1.439 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/1.219, allocations: 12 kB / 1.439 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/1.22, allocations: 1.239 MB / 1.44 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/1.22, allocations: 159.2 kB / 1.44 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.749e-05/1.22, allocations: 81.2 kB / 1.44 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/1.221, allocations: 1.375 MB / 1.442 GB, free: 174 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/1.221, allocations: 34.56 kB / 1.442 GB, free: 174 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/1.221, allocations: 0 / 1.442 GB, free: 174 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18): time 0.0004415/1.222, allocations: 208.9 kB / 1.442 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.122e-05/1.222, allocations: 55.41 kB / 1.442 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/1.222, allocations: 469.2 kB / 1.442 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/1.222, allocations: 29.64 kB / 1.442 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/1.222, allocations: 196.1 kB / 1.443 GB, free: 173 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/1.222, allocations: 67 kB / 1.443 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/1.222, allocations: 4 kB / 1.443 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.188e-05/1.222, allocations: 354.7 kB / 1.443 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/1.222, allocations: 59.98 kB / 1.443 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/1.223, allocations: 208.9 kB / 1.443 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/1.223, allocations: 122 kB / 1.443 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.223, allocations: 0 / 1.443 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004664/1.223, allocations: 292.7 kB / 1.444 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.584e-05/1.223, allocations: 0.7885 MB / 1.444 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.223, allocations: 11.92 kB / 1.444 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/1.223, allocations: 4 kB / 1.444 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/1.224, allocations: 71.91 kB / 1.445 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/1.224, allocations: 4 kB / 1.445 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/1.224, allocations: 47.66 kB / 1.445 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/1.224, allocations: 16 kB / 1.445 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.409e-06/1.224, allocations: 8 kB / 1.445 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003947/1.225, allocations: 211.5 kB / 1.445 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/1.225, allocations: 4 kB / 1.445 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/1.225, allocations: 4 kB / 1.445 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/1.225, allocations: 71.89 kB / 1.445 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/1.225, allocations: 4.188 kB / 1.445 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/1.225, allocations: 39.81 kB / 1.445 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/1.225, allocations: 15.91 kB / 1.445 GB, free: 170.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.901e-05/1.225, allocations: 112.9 kB / 1.445 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/1.225, allocations: 47.44 kB / 1.445 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004994/1.226, allocations: 275.7 kB / 1.445 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.226, allocations: 4 kB / 1.445 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/1.226, allocations: 3.938 kB / 1.445 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.226, allocations: 3.984 kB / 1.445 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007808/1.227, allocations: 0.7277 MB / 1.446 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.227, allocations: 4 kB / 1.446 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/1.227, allocations: 39.92 kB / 1.446 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.227, allocations: 4.188 kB / 1.446 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/1.227, allocations: 8.125 kB / 1.446 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.227, allocations: 3.984 kB / 1.446 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.227, allocations: 4 kB / 1.446 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004894/1.227, allocations: 493 kB / 1.447 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/1.227, allocations: 160.3 kB / 1.447 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.074e-05/1.228, allocations: 4 kB / 1.447 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/1.228, allocations: 24.05 kB / 1.447 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/1.228, allocations: 11.97 kB / 1.447 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/1.228, allocations: 8 kB / 1.447 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002648/1.228, allocations: 358.9 kB / 1.447 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006401/1.229, allocations: 271.5 kB / 1.447 GB, free: 167.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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.0008029/1.23, allocations: 0.524 MB / 1.448 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003829/1.23, allocations: 317.4 kB / 1.448 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.23, allocations: 0.75 kB / 1.448 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/1.23, allocations: 84.09 kB / 1.448 GB, free: 167 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009601/1.231, allocations: 226 kB / 1.448 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009411/1.232, allocations: 0.6402 MB / 1.449 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/1.232, allocations: 0.9092 MB / 1.45 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/1.232, allocations: 0 / 1.45 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.01397/1.246, allocations: 11.16 MB / 1.461 GB, free: 154.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches