Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") [: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.916/1.916, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.0011/0.0011, allocations: 181.2 kB / 487 MB, free: 5.379 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.317/1.317, allocations: 221.3 MB / 0.7819 GB, free: 1.484 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.0009676/0.0009677, allocations: 102.6 kB / 0.9213 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.768e-06/9.848e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2272, allocations: 142.3 MB / 1.205 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9217/1.149, allocations: 428.5 MB / 1.624 GB, free: 11.36 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/1.149, allocations: 100.9 kB / 1.624 GB, free: 11.3 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.245/4.394, allocations: 1.123 GB / 2.747 GB, free: 165.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001848/4.394, allocations: 73.91 kB / 2.747 GB, free: 165.9 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004081/4.398, allocations: 2.332 MB / 2.749 GB, free: 164.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/4.399, allocations: 8.906 kB / 2.749 GB, free: 164.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004157/4.399, allocations: 272.9 kB / 2.749 GB, free: 164.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/4.402, allocations: 1.685 MB / 2.751 GB, free: 164.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/4.402, allocations: 37.19 kB / 2.751 GB, free: 164.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/4.402, allocations: 90.72 kB / 2.751 GB, free: 164.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001433/4.404, allocations: 0.9114 MB / 2.752 GB, free: 164.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/4.405, allocations: 0.9364 MB / 2.753 GB, free: 164.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/4.405, allocations: 0 / 2.753 GB, free: 164.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.582e-05/4.405, allocations: 2.906 kB / 2.753 GB, free: 164.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/4.405, allocations: 26.47 kB / 2.753 GB, free: 164.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007028/4.412, allocations: 6.015 MB / 2.759 GB, free: 161.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006971/4.413, allocations: 0.5626 MB / 2.76 GB, free: 161.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000396/4.413, allocations: 363.2 kB / 2.76 GB, free: 161.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003173/4.414, allocations: 0.508 MB / 2.76 GB, free: 161 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/4.414, allocations: 35.44 kB / 2.76 GB, free: 161 MB / 1.151 GB Notification: Performance of pre-optimization done (n=58): time 2.284e-06/4.414, allocations: 0 / 2.76 GB, free: 161 MB / 1.151 GB Notification: Performance of matching and sorting (n=58): time 0.001467/4.415, allocations: 0.8631 MB / 2.761 GB, free: 160.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/4.415, allocations: 55.72 kB / 2.761 GB, free: 160.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/4.417, allocations: 1.334 MB / 2.763 GB, free: 160.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.383e-05/4.417, allocations: 33.2 kB / 2.763 GB, free: 160.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/4.417, allocations: 0.5915 MB / 2.763 GB, free: 160.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/4.417, allocations: 194.9 kB / 2.763 GB, free: 160.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/4.417, allocations: 0 / 2.763 GB, free: 160.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.627e-05/4.417, allocations: 353 kB / 2.764 GB, free: 159.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005647/4.418, allocations: 401.2 kB / 2.764 GB, free: 159.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007002/4.419, allocations: 0.7142 MB / 2.765 GB, free: 159.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008413/4.419, allocations: 0.5034 MB / 2.765 GB, free: 159.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/4.419, allocations: 0 / 2.765 GB, free: 159.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001934/4.421, allocations: 1.271 MB / 2.767 GB, free: 159.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/4.422, allocations: 0.9211 MB / 2.767 GB, free: 158.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/4.422, allocations: 3.031 kB / 2.767 GB, free: 158.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.533e-05/4.422, allocations: 6.625 kB / 2.767 GB, free: 158.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/4.423, allocations: 291 kB / 2.768 GB, free: 158.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/4.423, allocations: 8.344 kB / 2.768 GB, free: 158.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/4.425, allocations: 190.2 kB / 2.768 GB, free: 158.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/4.425, allocations: 62.69 kB / 2.768 GB, free: 158.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.441e-06/4.425, allocations: 3.781 kB / 2.768 GB, free: 158.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001555/4.426, allocations: 1.008 MB / 2.769 GB, free: 158.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/4.426, allocations: 3.625 kB / 2.769 GB, free: 158.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/4.426, allocations: 11 kB / 2.769 GB, free: 158.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/4.428, allocations: 280.4 kB / 2.769 GB, free: 158.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/4.428, allocations: 7.812 kB / 2.769 GB, free: 158.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/4.429, allocations: 162.7 kB / 2.769 GB, free: 158.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/4.429, allocations: 61.28 kB / 2.769 GB, free: 158.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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 0.0002032/4.43, allocations: 130.6 kB / 2.77 GB, free: 158.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/4.43, allocations: 179.1 kB / 2.77 GB, free: 158 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/4.432, allocations: 1.051 MB / 2.771 GB, free: 157.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/4.432, allocations: 7.469 kB / 2.771 GB, free: 157.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/4.432, allocations: 2.75 kB / 2.771 GB, free: 157.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/4.432, allocations: 13.45 kB / 2.771 GB, free: 157.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/4.435, allocations: 2.236 MB / 2.773 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/4.435, allocations: 3.938 kB / 2.773 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006012/4.436, allocations: 131.6 kB / 2.773 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/4.436, allocations: 3.719 kB / 2.773 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/4.436, allocations: 13.48 kB / 2.773 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/4.436, allocations: 10.39 kB / 2.773 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/4.436, allocations: 3.938 kB / 2.773 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00121/4.437, allocations: 1.098 MB / 2.774 GB, free: 157.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006229/4.438, allocations: 361.3 kB / 2.775 GB, free: 156.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/4.438, allocations: 3.031 kB / 2.775 GB, free: 156.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/4.439, allocations: 105.8 kB / 2.775 GB, free: 156.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/4.439, allocations: 41.11 kB / 2.775 GB, free: 156.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/4.439, allocations: 27.62 kB / 2.775 GB, free: 156.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001117/4.44, allocations: 0.9683 MB / 2.776 GB, free: 156.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002659/4.443, allocations: 0.9818 MB / 2.777 GB, free: 156.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001415/4.444, allocations: 1.002 MB / 2.778 GB, free: 156.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002467/4.447, allocations: 1.576 MB / 2.779 GB, free: 156.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/4.447, allocations: 3.312 kB / 2.779 GB, free: 156.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004605/4.447, allocations: 386.5 kB / 2.78 GB, free: 156.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004522/4.452, allocations: 0.8868 MB / 2.78 GB, free: 156.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/4.456, allocations: 2.277 MB / 2.783 GB, free: 155.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/4.458, allocations: 1.625 MB / 2.784 GB, free: 154.8 MB / 1.151 GB Notification: Performance of SimCode: time 9.71e-07/4.458, allocations: 0 / 2.784 GB, free: 154.8 MB / 1.151 GB Notification: Performance of Templates: time 0.06863/4.527, allocations: 41.75 MB / 2.825 GB, free: 153.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches