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.325/2.325, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.0009733/0.0009732, allocations: 188.7 kB / 487.4 MB, free: 5.016 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.422/1.422, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.0009046, allocations: 107.6 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.569e-05/1.571e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2649, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.42, allocations: 428.6 MB / 1.624 GB, free: 10.22 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.421, allocations: 102.6 kB / 1.625 GB, free: 10.16 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.015/5.436, allocations: 1.117 GB / 2.742 GB, free: 162.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.333e-06/5.436, allocations: 0 / 2.742 GB, free: 162.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003091/5.436, allocations: 73.36 kB / 2.742 GB, free: 162.4 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.004903/5.441, allocations: 2.315 MB / 2.744 GB, free: 161.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/5.441, allocations: 16.77 kB / 2.744 GB, free: 161.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005614/5.441, allocations: 269.8 kB / 2.744 GB, free: 161.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/5.444, allocations: 1.592 MB / 2.746 GB, free: 161 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/5.444, allocations: 39.53 kB / 2.746 GB, free: 161 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/5.445, allocations: 91.75 kB / 2.746 GB, free: 161 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00142/5.446, allocations: 0.9271 MB / 2.747 GB, free: 161 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/5.448, allocations: 0.9503 MB / 2.748 GB, free: 160.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/5.448, allocations: 0 / 2.748 GB, free: 160.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-05/5.448, allocations: 2.75 kB / 2.748 GB, free: 160.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/5.448, allocations: 33.83 kB / 2.748 GB, free: 160.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.00879/5.457, allocations: 6.084 MB / 2.754 GB, free: 158.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007173/5.457, allocations: 0.5831 MB / 2.754 GB, free: 158.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/5.458, allocations: 388 kB / 2.755 GB, free: 158.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003481/5.458, allocations: 0.514 MB / 2.755 GB, free: 157.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/5.458, allocations: 38.34 kB / 2.755 GB, free: 157.8 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001911/5.46, allocations: 428.3 kB / 2.756 GB, free: 157.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=58): time 3.727e-06/5.46, allocations: 0 / 2.756 GB, free: 157.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=58): time 0.001372/5.461, allocations: 0.8214 MB / 2.756 GB, free: 157.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/5.461, allocations: 55.72 kB / 2.757 GB, free: 157.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/5.463, allocations: 1.336 MB / 2.758 GB, free: 157.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-05/5.463, allocations: 25.7 kB / 2.758 GB, free: 157.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005195/5.464, allocations: 0.9207 MB / 2.759 GB, free: 157 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/5.464, allocations: 203.4 kB / 2.759 GB, free: 156.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/5.464, allocations: 0 / 2.759 GB, free: 156.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.741e-05/5.464, allocations: 347.2 kB / 2.759 GB, free: 156.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/5.464, allocations: 386.2 kB / 2.76 GB, free: 156.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006741/5.465, allocations: 0.7047 MB / 2.76 GB, free: 156.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000808/5.466, allocations: 490.6 kB / 2.761 GB, free: 156.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/5.466, allocations: 0 / 2.761 GB, free: 156.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001861/5.468, allocations: 1.234 MB / 2.762 GB, free: 156 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001688/5.468, allocations: 0.9234 MB / 2.763 GB, free: 155.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/5.468, allocations: 3.844 kB / 2.763 GB, free: 155.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/5.468, allocations: 6.625 kB / 2.763 GB, free: 155.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/5.469, allocations: 277.9 kB / 2.763 GB, free: 155.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/5.469, allocations: 15.12 kB / 2.763 GB, free: 155.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/5.471, allocations: 126.5 kB / 2.763 GB, free: 155.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/5.471, allocations: 61.84 kB / 2.763 GB, free: 155.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/5.471, allocations: 3.5 kB / 2.763 GB, free: 155.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001435/5.472, allocations: 0.9728 MB / 2.764 GB, free: 155 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/5.472, allocations: 0 / 2.764 GB, free: 155 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/5.472, allocations: 11.17 kB / 2.764 GB, free: 155 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/5.473, allocations: 278.6 kB / 2.765 GB, free: 155 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/5.473, allocations: 11.86 kB / 2.765 GB, free: 155 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/5.475, allocations: 135.6 kB / 2.765 GB, free: 155 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.687e-05/5.475, allocations: 56.67 kB / 2.765 GB, free: 155 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.0002199/5.475, allocations: 130.7 kB / 2.765 GB, free: 154.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002419/5.476, allocations: 179 kB / 2.765 GB, free: 154.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/5.478, allocations: 0.9741 MB / 2.766 GB, free: 154.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/5.478, allocations: 11.67 kB / 2.766 GB, free: 154.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/5.478, allocations: 2.516 kB / 2.766 GB, free: 154.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/5.478, allocations: 6.547 kB / 2.766 GB, free: 154.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/5.481, allocations: 2.163 MB / 2.768 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/5.481, allocations: 3.875 kB / 2.768 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005364/5.481, allocations: 131.3 kB / 2.768 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/5.481, allocations: 6 kB / 2.768 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/5.481, allocations: 16.11 kB / 2.768 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/5.481, allocations: 8.844 kB / 2.768 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/5.481, allocations: 2.719 kB / 2.768 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/5.482, allocations: 1.066 MB / 2.769 GB, free: 153.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000535/5.483, allocations: 360.8 kB / 2.77 GB, free: 153.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/5.483, allocations: 3.625 kB / 2.77 GB, free: 153.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009296/5.484, allocations: 96.92 kB / 2.77 GB, free: 153.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.848e-05/5.484, allocations: 49.81 kB / 2.77 GB, free: 153.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/5.484, allocations: 30.41 kB / 2.77 GB, free: 153.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001171/5.485, allocations: 0.9666 MB / 2.771 GB, free: 153.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.61e-07/5.485, allocations: 0 / 2.771 GB, free: 153.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002792/5.488, allocations: 0.9741 MB / 2.772 GB, free: 153.4 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.001412/5.49, allocations: 0.9875 MB / 2.773 GB, free: 153.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002062/5.492, allocations: 1.504 MB / 2.774 GB, free: 153.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/5.492, allocations: 0 / 2.774 GB, free: 153.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004112/5.492, allocations: 362.9 kB / 2.775 GB, free: 153.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004577/5.497, allocations: 0.9074 MB / 2.775 GB, free: 153.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/5.5, allocations: 2.159 MB / 2.778 GB, free: 152.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/5.501, allocations: 1.454 MB / 2.779 GB, free: 151.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002212/5.503, allocations: 476.5 kB / 2.779 GB, free: 151.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/5.504, allocations: 120.2 kB / 2.78 GB, free: 151.6 MB / 1.151 GB Notification: Performance of SimCode: time 9.82e-07/5.504, allocations: 3.438 kB / 2.78 GB, free: 151.6 MB / 1.151 GB Notification: Performance of Templates: time 0.0553/5.559, allocations: 37.03 MB / 2.816 GB, free: 150 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