Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.953/1.953, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.002059/0.002059, allocations: 177.3 kB / 490.8 MB, free: 1.938 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.308/1.308, allocations: 221.4 MB / 0.7863 GB, free: 13.67 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.001012/0.001012, allocations: 100.6 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.875e-06/7.985e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.258, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.872/1.13, allocations: 401.8 MB / 1.604 GB, free: 13.27 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/1.13, allocations: 104.3 kB / 1.604 GB, free: 13.22 MB / 1.026 GB Notification: Performance of FrontEnd: time 0.846/1.976, allocations: 178.2 MB / 1.778 GB, free: 328.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.448e-05/1.977, allocations: 14.94 kB / 1.778 GB, free: 328.7 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001295/1.978, allocations: 0.7767 MB / 1.779 GB, free: 328.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/1.978, allocations: 7.469 kB / 1.779 GB, free: 328.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/1.978, allocations: 60.44 kB / 1.779 GB, free: 328.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008413/1.979, allocations: 464.6 kB / 1.779 GB, free: 327.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/1.979, allocations: 7.719 kB / 1.779 GB, free: 327.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/1.979, allocations: 22.97 kB / 1.779 GB, free: 327.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002824/1.979, allocations: 143.6 kB / 1.78 GB, free: 327.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/1.98, allocations: 235 kB / 1.78 GB, free: 327.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.98, allocations: 2.812 kB / 1.78 GB, free: 327.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/1.98, allocations: 0 / 1.78 GB, free: 327.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/1.98, allocations: 7.719 kB / 1.78 GB, free: 327.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/1.982, allocations: 1.455 MB / 1.781 GB, free: 327 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/1.982, allocations: 138.1 kB / 1.781 GB, free: 326.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.026e-05/1.982, allocations: 66.36 kB / 1.781 GB, free: 326.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/1.983, allocations: 1.349 MB / 1.783 GB, free: 325.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/1.983, allocations: 34.27 kB / 1.783 GB, free: 325.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/1.983, allocations: 2.5 kB / 1.783 GB, free: 325.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0004837/1.984, allocations: 184.8 kB / 1.783 GB, free: 325.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/1.984, allocations: 59.22 kB / 1.783 GB, free: 325.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/1.984, allocations: 469 kB / 1.783 GB, free: 325.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/1.984, allocations: 25.7 kB / 1.783 GB, free: 325.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/1.984, allocations: 211 kB / 1.784 GB, free: 325.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/1.984, allocations: 54.58 kB / 1.784 GB, free: 325.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/1.984, allocations: 0 / 1.784 GB, free: 325.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.085e-05/1.985, allocations: 358.3 kB / 1.784 GB, free: 324.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.403e-05/1.985, allocations: 47.94 kB / 1.784 GB, free: 324.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/1.985, allocations: 213.5 kB / 1.784 GB, free: 324.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/1.985, allocations: 93.16 kB / 1.784 GB, free: 324.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.985, allocations: 7.469 kB / 1.784 GB, free: 324.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004648/1.986, allocations: 264.5 kB / 1.785 GB, free: 324.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001827/1.986, allocations: 0.9674 MB / 1.786 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/1.986, allocations: 3.938 kB / 1.786 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/1.986, allocations: 6.469 kB / 1.786 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/1.986, allocations: 67.02 kB / 1.786 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.986, allocations: 11.33 kB / 1.786 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/1.986, allocations: 38.08 kB / 1.786 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/1.986, allocations: 22.92 kB / 1.786 GB, free: 323.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/1.987, allocations: 3.938 kB / 1.786 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003764/1.987, allocations: 189.7 kB / 1.786 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.987, allocations: 6.562 kB / 1.786 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-06/1.987, allocations: 3.781 kB / 1.786 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/1.987, allocations: 65.12 kB / 1.786 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/1.987, allocations: 4.594 kB / 1.786 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/1.987, allocations: 37.33 kB / 1.786 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/1.988, allocations: 14.81 kB / 1.786 GB, free: 323.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 8.229e-05/1.988, allocations: 119 kB / 1.786 GB, free: 323.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/1.988, allocations: 50.48 kB / 1.786 GB, free: 323.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005015/1.988, allocations: 234 kB / 1.786 GB, free: 323.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/1.988, allocations: 3.938 kB / 1.786 GB, free: 323.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.988, allocations: 11.19 kB / 1.786 GB, free: 323.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.988, allocations: 3.375 kB / 1.786 GB, free: 323.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000883/1.989, allocations: 0.6781 MB / 1.787 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.989, allocations: 3.938 kB / 1.787 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/1.989, allocations: 43.16 kB / 1.787 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/1.989, allocations: 0 / 1.787 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/1.989, allocations: 7.281 kB / 1.787 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.989, allocations: 3.719 kB / 1.787 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.989, allocations: 0 / 1.787 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003804/1.99, allocations: 381.5 kB / 1.788 GB, free: 322.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/1.99, allocations: 155.7 kB / 1.788 GB, free: 322.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.636e-05/1.99, allocations: 3.938 kB / 1.788 GB, free: 322.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/1.99, allocations: 21.09 kB / 1.788 GB, free: 322.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/1.99, allocations: 15.62 kB / 1.788 GB, free: 322.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/1.99, allocations: 7.875 kB / 1.788 GB, free: 322.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003329/1.991, allocations: 363.7 kB / 1.788 GB, free: 322.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008482/1.991, allocations: 257.8 kB / 1.788 GB, free: 322.7 MB / 1.151 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 (17): * Single equations (assignments): 15 * 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.001075/1.993, allocations: 0.5336 MB / 1.789 GB, free: 322.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004521/1.993, allocations: 283.8 kB / 1.789 GB, free: 322.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.993, allocations: 0 / 1.789 GB, free: 322.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/1.993, allocations: 76.05 kB / 1.789 GB, free: 322.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/1.994, allocations: 202.4 kB / 1.789 GB, free: 322.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/1.995, allocations: 0.5844 MB / 1.79 GB, free: 322.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/1.996, allocations: 0.9066 MB / 1.791 GB, free: 321.6 MB / 1.151 GB Notification: Performance of SimCode: time 3.5e-07/1.996, allocations: 0 / 1.791 GB, free: 321.6 MB / 1.151 GB Notification: Performance of Templates: time 0.01642/2.012, allocations: 10.86 MB / 1.801 GB, free: 321.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches