Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.925/1.925, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001028/0.001028, allocations: 177.3 kB / 487 MB, free: 5.316 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.225/1.225, allocations: 221.3 MB / 0.7819 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009044/0.0009043, allocations: 86.77 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.901e-06/5.911e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2076, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7834/0.991, allocations: 401 MB / 1.597 GB, free: 5.93 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.9913, allocations: 93 kB / 1.597 GB, free: 5.883 MB / 1.026 GB Notification: Performance of FrontEnd: time 0.7728/1.764, allocations: 178.2 MB / 1.771 GB, free: 364 MB / 1.135 GB Notification: Performance of Transformations before backend: time 4.131e-05/1.764, allocations: 17.23 kB / 1.771 GB, free: 364 MB / 1.135 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.000977/1.765, allocations: 0.7732 MB / 1.772 GB, free: 363.5 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/1.765, allocations: 13.62 kB / 1.772 GB, free: 363.4 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/1.765, allocations: 60.25 kB / 1.772 GB, free: 363.4 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006348/1.766, allocations: 457.5 kB / 1.772 GB, free: 363.1 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/1.766, allocations: 10.84 kB / 1.772 GB, free: 363.1 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/1.766, allocations: 15.56 kB / 1.772 GB, free: 363.1 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002469/1.766, allocations: 146.6 kB / 1.772 GB, free: 363.1 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/1.767, allocations: 232.2 kB / 1.773 GB, free: 362.9 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/1.767, allocations: 4.156 kB / 1.773 GB, free: 362.9 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/1.767, allocations: 0 / 1.773 GB, free: 362.9 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/1.767, allocations: 10.36 kB / 1.773 GB, free: 362.9 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/1.768, allocations: 1.45 MB / 1.774 GB, free: 361.9 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/1.768, allocations: 135.5 kB / 1.774 GB, free: 361.8 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.558e-05/1.768, allocations: 63.33 kB / 1.774 GB, free: 361.8 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/1.77, allocations: 1.36 MB / 1.776 GB, free: 360.5 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/1.77, allocations: 37.66 kB / 1.776 GB, free: 360.5 MB / 1.135 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/1.77, allocations: 0 / 1.776 GB, free: 360.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=15): time 0.0004196/1.77, allocations: 177.2 kB / 1.776 GB, free: 360.4 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.826e-05/1.77, allocations: 55.34 kB / 1.776 GB, free: 360.3 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004294/1.771, allocations: 473 kB / 1.776 GB, free: 360.1 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/1.771, allocations: 29.67 kB / 1.776 GB, free: 360.1 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 9.031e-05/1.771, allocations: 212.9 kB / 1.777 GB, free: 359.9 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/1.771, allocations: 51.03 kB / 1.777 GB, free: 359.9 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/1.771, allocations: 0 / 1.777 GB, free: 359.9 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.886e-05/1.771, allocations: 358.3 kB / 1.777 GB, free: 359.5 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/1.771, allocations: 55.89 kB / 1.777 GB, free: 359.5 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/1.771, allocations: 211.8 kB / 1.777 GB, free: 359.3 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/1.771, allocations: 98.03 kB / 1.777 GB, free: 359.3 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.771, allocations: 0 / 1.777 GB, free: 359.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004405/1.772, allocations: 269.6 kB / 1.778 GB, free: 359.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/1.772, allocations: 0.9588 MB / 1.778 GB, free: 358.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.772, allocations: 3.719 kB / 1.778 GB, free: 358.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.772, allocations: 7.812 kB / 1.778 GB, free: 358.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/1.772, allocations: 66.05 kB / 1.779 GB, free: 358.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.772, allocations: 4.219 kB / 1.779 GB, free: 358.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/1.773, allocations: 46.17 kB / 1.779 GB, free: 358.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/1.773, allocations: 22.72 kB / 1.779 GB, free: 358.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 5.069e-06/1.773, allocations: 4.625 kB / 1.779 GB, free: 358.2 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003644/1.773, allocations: 187.2 kB / 1.779 GB, free: 358.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/1.773, allocations: 3.906 kB / 1.779 GB, free: 358.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/1.773, allocations: 3.812 kB / 1.779 GB, free: 358.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/1.773, allocations: 69.84 kB / 1.779 GB, free: 358.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/1.773, allocations: 7.875 kB / 1.779 GB, free: 358.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/1.774, allocations: 38.19 kB / 1.779 GB, free: 358.1 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/1.774, allocations: 17.36 kB / 1.779 GB, free: 358.1 MB / 1.135 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 7.098e-05/1.774, allocations: 120.7 kB / 1.779 GB, free: 358 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/1.774, allocations: 42.88 kB / 1.779 GB, free: 358 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/1.774, allocations: 243.2 kB / 1.779 GB, free: 357.9 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/1.774, allocations: 11.81 kB / 1.779 GB, free: 357.9 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.774, allocations: 0 / 1.779 GB, free: 357.9 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.774, allocations: 0 / 1.779 GB, free: 357.9 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007897/1.775, allocations: 0.6798 MB / 1.78 GB, free: 357.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.775, allocations: 0 / 1.78 GB, free: 357.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/1.775, allocations: 38.64 kB / 1.78 GB, free: 357.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/1.775, allocations: 3.875 kB / 1.78 GB, free: 357.4 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/1.775, allocations: 3.656 kB / 1.78 GB, free: 357.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.775, allocations: 3.844 kB / 1.78 GB, free: 357.4 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.775, allocations: 10.78 kB / 1.78 GB, free: 357.4 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000367/1.776, allocations: 375.9 kB / 1.78 GB, free: 357.1 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/1.776, allocations: 151.7 kB / 1.781 GB, free: 357 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.323e-05/1.776, allocations: 3.938 kB / 1.781 GB, free: 357 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/1.776, allocations: 26.92 kB / 1.781 GB, free: 357 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/1.776, allocations: 23.62 kB / 1.781 GB, free: 357 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/1.776, allocations: 3.906 kB / 1.781 GB, free: 357 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0003086/1.777, allocations: 366 kB / 1.781 GB, free: 356.8 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0008019/1.777, allocations: 261.1 kB / 1.781 GB, free: 356.8 MB / 1.135 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.0009241/1.778, allocations: 0.5085 MB / 1.782 GB, free: 356.6 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0003878/1.779, allocations: 296.2 kB / 1.782 GB, free: 356.5 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/1.779, allocations: 3.938 kB / 1.782 GB, free: 356.5 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 9.245e-05/1.779, allocations: 73.36 kB / 1.782 GB, free: 356.5 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/1.78, allocations: 205 kB / 1.782 GB, free: 356.4 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000991/1.781, allocations: 0.5774 MB / 1.783 GB, free: 356.2 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/1.781, allocations: 0.907 MB / 1.784 GB, free: 355.4 MB / 1.135 GB Notification: Performance of SimCode: time 2.81e-07/1.781, allocations: 0 / 1.784 GB, free: 355.4 MB / 1.135 GB Notification: Performance of Templates: time 0.02373/1.805, allocations: 10.87 MB / 1.794 GB, free: 354.9 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches