Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.667/2.667, allocations: 393.5 MB / 408.5 MB, free: 11.02 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.001181/0.001181, allocations: 191.9 kB / 0.4902 GB, free: 2.215 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.664/1.664, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001096/0.001095, allocations: 96.28 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003618, allocations: 10.69 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3025, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/1.403, allocations: 430 MB / 1.649 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003635/1.404, allocations: 104.8 kB / 1.649 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.317/5.721, allocations: 1.126 GB / 2.775 GB, free: 167.6 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.244e-06/5.721, allocations: 0 / 2.775 GB, free: 167.6 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0003424/5.721, allocations: 67.75 kB / 2.775 GB, free: 167.6 MB / 1.182 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.00991/5.731, allocations: 2.738 MB / 2.778 GB, free: 166.9 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/5.731, allocations: 15.39 kB / 2.778 GB, free: 166.9 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/5.733, allocations: 268.3 kB / 2.778 GB, free: 166.8 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005439/5.738, allocations: 1.624 MB / 2.78 GB, free: 166.4 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/5.738, allocations: 111.3 kB / 2.78 GB, free: 166.4 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003009/5.738, allocations: 144.9 kB / 2.78 GB, free: 166.4 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/5.741, allocations: 1.158 MB / 2.781 GB, free: 166.3 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/5.741, allocations: 352 / 2.781 GB, free: 166.3 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/5.741, allocations: 51.3 kB / 2.781 GB, free: 166.3 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/5.741, allocations: 28.23 kB / 2.781 GB, free: 166.3 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/5.743, allocations: 1.013 MB / 2.782 GB, free: 166.3 MB / 1.182 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.01277/5.756, allocations: 6.375 MB / 2.789 GB, free: 163.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/5.757, allocations: 0.5905 MB / 2.789 GB, free: 163.7 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003674/5.758, allocations: 0.5097 MB / 2.79 GB, free: 163.2 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/5.758, allocations: 38.91 kB / 2.79 GB, free: 163.1 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003163/5.761, allocations: 472.3 kB / 2.79 GB, free: 163.1 MB / 1.182 GB Notification: Performance of pre-optimization done (n=58): time 1.525e-05/5.761, allocations: 3.172 kB / 2.79 GB, free: 163.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=58): time 0.003088/5.764, allocations: 1.141 MB / 2.791 GB, free: 162.9 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/5.764, allocations: 57.41 kB / 2.791 GB, free: 162.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003014/5.767, allocations: 1.654 MB / 2.793 GB, free: 162.7 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0002254/5.767, allocations: 49.36 kB / 2.793 GB, free: 162.6 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008925/5.768, allocations: 0.9291 MB / 2.794 GB, free: 162.4 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/5.768, allocations: 205.2 kB / 2.794 GB, free: 162.3 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/5.768, allocations: 22.09 kB / 2.794 GB, free: 162.3 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001101/5.769, allocations: 345.8 kB / 2.794 GB, free: 162 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008316/5.769, allocations: 409.4 kB / 2.795 GB, free: 162 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/5.771, allocations: 0.7407 MB / 2.796 GB, free: 161.7 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/5.772, allocations: 0.4894 MB / 2.796 GB, free: 161.7 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/5.772, allocations: 0 / 2.796 GB, free: 161.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003003/5.775, allocations: 1.321 MB / 2.797 GB, free: 161.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002658/5.775, allocations: 0.9331 MB / 2.798 GB, free: 160.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/5.775, allocations: 5.188 kB / 2.798 GB, free: 160.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/5.775, allocations: 6.781 kB / 2.798 GB, free: 160.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/5.776, allocations: 272.9 kB / 2.799 GB, free: 160.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/5.776, allocations: 7.062 kB / 2.799 GB, free: 160.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/5.779, allocations: 166.8 kB / 2.799 GB, free: 160.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/5.779, allocations: 64.92 kB / 2.799 GB, free: 160.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/5.779, allocations: 5.875 kB / 2.799 GB, free: 160.5 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002039/5.781, allocations: 1.094 MB / 2.8 GB, free: 160.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/5.781, allocations: 0 / 2.8 GB, free: 160.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/5.781, allocations: 10.09 kB / 2.8 GB, free: 160.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/5.782, allocations: 270.6 kB / 2.8 GB, free: 160.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/5.782, allocations: 6.969 kB / 2.8 GB, free: 160.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/5.785, allocations: 164.6 kB / 2.8 GB, free: 160.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/5.785, allocations: 57.33 kB / 2.8 GB, free: 160.5 MB / 1.182 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 (140): * Single equations (assignments): 140 * 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.00116/5.786, allocations: 445.8 kB / 2.801 GB, free: 160.3 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004551/5.787, allocations: 205.5 kB / 2.801 GB, free: 160.2 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/5.789, allocations: 1.083 MB / 2.802 GB, free: 160.1 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/5.789, allocations: 11.2 kB / 2.802 GB, free: 160.1 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/5.789, allocations: 0 / 2.802 GB, free: 160.1 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/5.789, allocations: 3.609 kB / 2.802 GB, free: 160.1 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004007/5.793, allocations: 2.393 MB / 2.804 GB, free: 159.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/5.793, allocations: 1.875 kB / 2.804 GB, free: 159.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005377/5.793, allocations: 133.8 kB / 2.804 GB, free: 159.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/5.793, allocations: 5.688 kB / 2.804 GB, free: 159.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/5.793, allocations: 21.33 kB / 2.805 GB, free: 159.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/5.793, allocations: 5.938 kB / 2.805 GB, free: 159.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/5.793, allocations: 3.969 kB / 2.805 GB, free: 159.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/5.795, allocations: 1.181 MB / 2.806 GB, free: 159.2 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/5.796, allocations: 375.9 kB / 2.806 GB, free: 159 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/5.796, allocations: 12.5 kB / 2.806 GB, free: 159 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/5.797, allocations: 115.9 kB / 2.806 GB, free: 159 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/5.797, allocations: 57.11 kB / 2.806 GB, free: 159 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/5.797, allocations: 22.19 kB / 2.806 GB, free: 159 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001713/5.799, allocations: 1.245 MB / 2.807 GB, free: 158.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 2e-07/5.799, allocations: 0 / 2.807 GB, free: 158.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003295/5.802, allocations: 0.9725 MB / 2.808 GB, free: 158.8 MB / 1.182 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.001728/5.804, allocations: 0.9857 MB / 2.809 GB, free: 158.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.002661/5.807, allocations: 1.535 MB / 2.811 GB, free: 158.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/5.807, allocations: 0 / 2.811 GB, free: 158.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0005497/5.807, allocations: 402.1 kB / 2.811 GB, free: 158.5 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005606/5.813, allocations: 1.126 MB / 2.812 GB, free: 158.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004754/5.818, allocations: 3.495 MB / 2.816 GB, free: 156.8 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007246/5.819, allocations: 1.449 MB / 2.817 GB, free: 156.1 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002127/5.821, allocations: 399.5 kB / 2.818 GB, free: 156 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004002/5.821, allocations: 162.8 kB / 2.818 GB, free: 156 MB / 1.182 GB Notification: Performance of SimCode: time 1.763e-06/5.821, allocations: 0 / 2.818 GB, free: 156 MB / 1.182 GB Notification: Performance of Templates: time 0.07047/5.892, allocations: 43.38 MB / 2.86 GB, free: 154.9 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches