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.149/2.149, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001033/0.001033, allocations: 172.9 kB / 492.3 MB, free: 0.6016 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.416/1.416, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0008517/0.0008518, allocations: 110.5 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.023e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2389, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.271, allocations: 429.2 MB / 1.632 GB, free: 1.449 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/1.271, allocations: 97.69 kB / 1.632 GB, free: 1.398 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.239/5.51, allocations: 1.123 GB / 2.755 GB, free: 173.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.413e-06/5.51, allocations: 3.688 kB / 2.755 GB, free: 173.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002479/5.511, allocations: 70.2 kB / 2.755 GB, free: 173.3 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.005712/5.516, allocations: 2.32 MB / 2.757 GB, free: 172.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/5.517, allocations: 7.75 kB / 2.757 GB, free: 172.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008364/5.517, allocations: 274.6 kB / 2.757 GB, free: 172.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003708/5.521, allocations: 1.599 MB / 2.759 GB, free: 172 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.54e-05/5.521, allocations: 108.4 kB / 2.759 GB, free: 172 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/5.521, allocations: 150.1 kB / 2.759 GB, free: 172 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/5.523, allocations: 1.109 MB / 2.76 GB, free: 171.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/5.523, allocations: 2.219 kB / 2.76 GB, free: 171.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/5.523, allocations: 48.44 kB / 2.76 GB, free: 171.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/5.524, allocations: 30 kB / 2.76 GB, free: 171.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/5.525, allocations: 0.9555 MB / 2.761 GB, free: 171.9 MB / 1.167 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.01023/5.535, allocations: 6.386 MB / 2.767 GB, free: 169.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/5.536, allocations: 0.5715 MB / 2.768 GB, free: 169.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004303/5.536, allocations: 380.7 kB / 2.768 GB, free: 169.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003524/5.537, allocations: 0.5097 MB / 2.769 GB, free: 168.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/5.537, allocations: 41.56 kB / 2.769 GB, free: 168.6 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002332/5.539, allocations: 472.5 kB / 2.769 GB, free: 168.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=58): time 3.928e-06/5.539, allocations: 0 / 2.769 GB, free: 168.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=58): time 0.001329/5.541, allocations: 0.8287 MB / 2.77 GB, free: 168.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/5.541, allocations: 62.34 kB / 2.77 GB, free: 168.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/5.543, allocations: 1.625 MB / 2.772 GB, free: 168.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/5.543, allocations: 49.58 kB / 2.772 GB, free: 168.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006057/5.543, allocations: 0.9311 MB / 2.773 GB, free: 167.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/5.543, allocations: 202.5 kB / 2.773 GB, free: 167.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/5.543, allocations: 24 kB / 2.773 GB, free: 167.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.837e-05/5.544, allocations: 349.5 kB / 2.773 GB, free: 167.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/5.544, allocations: 387.5 kB / 2.774 GB, free: 167.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007625/5.545, allocations: 0.7247 MB / 2.774 GB, free: 167 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006902/5.546, allocations: 490.5 kB / 2.775 GB, free: 167 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/5.546, allocations: 0 / 2.775 GB, free: 167 MB / 1.167 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002018/5.548, allocations: 1.286 MB / 2.776 GB, free: 166.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002029/5.548, allocations: 0.9373 MB / 2.777 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/5.548, allocations: 0 / 2.777 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/5.548, allocations: 7.031 kB / 2.777 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/5.549, allocations: 288.7 kB / 2.777 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/5.549, allocations: 13.36 kB / 2.777 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/5.551, allocations: 167.4 kB / 2.777 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/5.551, allocations: 62.41 kB / 2.777 GB, free: 165.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/5.551, allocations: 3.969 kB / 2.777 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001542/5.553, allocations: 1.07 MB / 2.778 GB, free: 165.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/5.553, allocations: 0 / 2.778 GB, free: 165.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/5.553, allocations: 8.562 kB / 2.778 GB, free: 165.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/5.554, allocations: 274.2 kB / 2.779 GB, free: 165.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/5.554, allocations: 10.97 kB / 2.779 GB, free: 165.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/5.556, allocations: 163.4 kB / 2.779 GB, free: 165.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/5.556, allocations: 62.39 kB / 2.779 GB, free: 165.8 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 () * 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.0002597/5.556, allocations: 164.1 kB / 2.779 GB, free: 165.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/5.557, allocations: 202.5 kB / 2.779 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/5.559, allocations: 1.047 MB / 2.78 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/5.559, allocations: 7.656 kB / 2.78 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/5.559, allocations: 3.656 kB / 2.78 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/5.559, allocations: 3.938 kB / 2.78 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003598/5.562, allocations: 2.359 MB / 2.783 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/5.562, allocations: 3.219 kB / 2.783 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/5.563, allocations: 139.6 kB / 2.783 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/5.563, allocations: 5.594 kB / 2.783 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/5.563, allocations: 18.22 kB / 2.783 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/5.563, allocations: 4.375 kB / 2.783 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/5.563, allocations: 3.094 kB / 2.783 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/5.564, allocations: 1.133 MB / 2.784 GB, free: 164.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007775/5.565, allocations: 373.7 kB / 2.784 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/5.565, allocations: 17.14 kB / 2.784 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/5.566, allocations: 116 kB / 2.784 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/5.567, allocations: 54.09 kB / 2.784 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/5.567, allocations: 29.72 kB / 2.784 GB, free: 164.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001524/5.568, allocations: 1.216 MB / 2.786 GB, free: 164.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.01e-07/5.568, allocations: 2.906 kB / 2.786 GB, free: 164.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002808/5.571, allocations: 0.9884 MB / 2.787 GB, free: 164.1 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 () * 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.001752/5.573, allocations: 0.9596 MB / 2.788 GB, free: 163.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002528/5.575, allocations: 1.58 MB / 2.789 GB, free: 163.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/5.575, allocations: 3.562 kB / 2.789 GB, free: 163.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000474/5.576, allocations: 374.2 kB / 2.789 GB, free: 163.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005454/5.581, allocations: 1.132 MB / 2.791 GB, free: 163.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/5.585, allocations: 2.235 MB / 2.793 GB, free: 163.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009803/5.586, allocations: 1.458 MB / 2.794 GB, free: 162.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003212/5.589, allocations: 0.5161 MB / 2.795 GB, free: 162.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/5.59, allocations: 128.8 kB / 2.795 GB, free: 162.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.654e-06/5.59, allocations: 0 / 2.795 GB, free: 162.3 MB / 1.167 GB Notification: Performance of Templates: time 0.08303/5.673, allocations: 48.54 MB / 2.842 GB, free: 160.2 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