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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001103/0.001104, allocations: 178.9 kB / 498.1 MB, free: 5.691 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.728/1.728, allocations: 223.2 MB / 0.7949 GB, free: 17.88 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.0009297/0.0009295, allocations: 100.2 kB / 0.9346 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.000383, allocations: 9.312 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2847, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.154/1.439, allocations: 429.3 MB / 1.642 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/1.44, allocations: 98.88 kB / 1.642 GB, free: 14.87 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.072/5.511, allocations: 1.126 GB / 2.768 GB, free: 158.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.958e-06/5.511, allocations: 0 / 2.768 GB, free: 158.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003151/5.512, allocations: 68.64 kB / 2.769 GB, free: 158.8 MB / 1.167 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.008559/5.52, allocations: 2.735 MB / 2.771 GB, free: 158.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/5.52, allocations: 18.34 kB / 2.771 GB, free: 158.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007544/5.521, allocations: 267.4 kB / 2.772 GB, free: 157.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004717/5.526, allocations: 1.621 MB / 2.773 GB, free: 157.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/5.526, allocations: 108.8 kB / 2.773 GB, free: 157.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/5.526, allocations: 149.5 kB / 2.773 GB, free: 157.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003107/5.529, allocations: 1.15 MB / 2.774 GB, free: 157.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/5.53, allocations: 3.188 kB / 2.774 GB, free: 157.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/5.53, allocations: 49.22 kB / 2.775 GB, free: 157.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/5.53, allocations: 35.36 kB / 2.775 GB, free: 157.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/5.532, allocations: 1.01 MB / 2.776 GB, free: 157.4 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01184/5.544, allocations: 6.39 MB / 2.782 GB, free: 154.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/5.545, allocations: 0.5919 MB / 2.782 GB, free: 154.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003975/5.545, allocations: 0.5156 MB / 2.783 GB, free: 154.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/5.545, allocations: 37.53 kB / 2.783 GB, free: 154.3 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002781/5.548, allocations: 469.8 kB / 2.783 GB, free: 154.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=58): time 5.69e-06/5.548, allocations: 1.219 kB / 2.783 GB, free: 154.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=58): time 0.002445/5.551, allocations: 1.141 MB / 2.784 GB, free: 154.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/5.551, allocations: 61.34 kB / 2.785 GB, free: 154 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/5.553, allocations: 1.646 MB / 2.786 GB, free: 153.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/5.554, allocations: 49.77 kB / 2.786 GB, free: 153.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008425/5.554, allocations: 0.9297 MB / 2.787 GB, free: 153.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/5.555, allocations: 202.3 kB / 2.787 GB, free: 153.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/5.555, allocations: 21.31 kB / 2.787 GB, free: 153.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001187/5.555, allocations: 350.6 kB / 2.788 GB, free: 153.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008539/5.556, allocations: 414 kB / 2.788 GB, free: 153.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/5.557, allocations: 0.7524 MB / 2.789 GB, free: 152.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/5.558, allocations: 0.5015 MB / 2.789 GB, free: 152.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/5.558, allocations: 0.5625 kB / 2.789 GB, free: 152.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002244/5.56, allocations: 1.348 MB / 2.791 GB, free: 152.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002632/5.56, allocations: 0.9366 MB / 2.791 GB, free: 151.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/5.56, allocations: 3.844 kB / 2.791 GB, free: 151.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/5.56, allocations: 9.312 kB / 2.791 GB, free: 151.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/5.562, allocations: 280.5 kB / 2.792 GB, free: 151.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/5.562, allocations: 7.812 kB / 2.792 GB, free: 151.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/5.564, allocations: 169.3 kB / 2.792 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/5.564, allocations: 63.62 kB / 2.792 GB, free: 151.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/5.564, allocations: 5.219 kB / 2.792 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001769/5.566, allocations: 1.116 MB / 2.793 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/5.566, allocations: 2.844 kB / 2.793 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/5.566, allocations: 8.625 kB / 2.793 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/5.567, allocations: 274.7 kB / 2.793 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/5.567, allocations: 10.75 kB / 2.793 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/5.57, allocations: 162.5 kB / 2.794 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/5.57, allocations: 62.14 kB / 2.794 GB, free: 151.6 MB / 1.167 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 () * Number of clocked 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.001222/5.571, allocations: 453.9 kB / 2.794 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004065/5.571, allocations: 202.5 kB / 2.794 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/5.573, allocations: 1.087 MB / 2.795 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/5.574, allocations: 10.28 kB / 2.795 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/5.574, allocations: 0 / 2.795 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/5.574, allocations: 3.75 kB / 2.795 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/5.578, allocations: 2.406 MB / 2.798 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/5.578, allocations: 3.219 kB / 2.798 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005755/5.578, allocations: 132.6 kB / 2.798 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/5.578, allocations: 3.875 kB / 2.798 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/5.578, allocations: 24.64 kB / 2.798 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/5.578, allocations: 6 kB / 2.798 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/5.578, allocations: 0 / 2.798 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/5.58, allocations: 1.175 MB / 2.799 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009837/5.581, allocations: 377.6 kB / 2.799 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/5.581, allocations: 13.56 kB / 2.799 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/5.582, allocations: 119.4 kB / 2.799 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/5.582, allocations: 58.88 kB / 2.799 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/5.582, allocations: 19.28 kB / 2.799 GB, free: 150.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001658/5.584, allocations: 1.25 MB / 2.801 GB, free: 150 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.81e-07/5.584, allocations: 0 / 2.801 GB, free: 150 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003157/5.587, allocations: 0.9795 MB / 2.802 GB, free: 149.9 MB / 1.167 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 () * Number of clocked 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.001599/5.589, allocations: 0.9771 MB / 2.803 GB, free: 149.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002653/5.591, allocations: 1.577 MB / 2.804 GB, free: 149.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/5.591, allocations: 0 / 2.804 GB, free: 149.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005616/5.592, allocations: 406.9 kB / 2.805 GB, free: 149.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005685/5.598, allocations: 1.119 MB / 2.806 GB, free: 149.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005086/5.603, allocations: 3.511 MB / 2.809 GB, free: 147.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/5.604, allocations: 1.448 MB / 2.81 GB, free: 147.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002285/5.606, allocations: 403.6 kB / 2.811 GB, free: 147.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004163/5.606, allocations: 166.4 kB / 2.811 GB, free: 147.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.242e-06/5.606, allocations: 0 / 2.811 GB, free: 147.2 MB / 1.167 GB Notification: Performance of Templates: time 0.07438/5.681, allocations: 43.51 MB / 2.854 GB, free: 146.1 MB / 1.167 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