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.419/2.419, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001013/0.001013, allocations: 184.7 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0009979/0.0009979, allocations: 95.27 kB / 0.9318 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.179e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2776, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.137/1.415, allocations: 430 MB / 1.639 GB, free: 4.535 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/1.415, allocations: 99.94 kB / 1.639 GB, free: 4.438 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 4.778/6.193, allocations: 1.123 GB / 2.761 GB, free: 175.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.793e-06/6.193, allocations: 0 / 2.761 GB, free: 175.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005464/6.194, allocations: 75.64 kB / 2.762 GB, free: 175.7 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.008845/6.203, allocations: 2.316 MB / 2.764 GB, free: 174.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/6.203, allocations: 10.22 kB / 2.764 GB, free: 174.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/6.204, allocations: 269.2 kB / 2.764 GB, free: 174.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005644/6.21, allocations: 1.597 MB / 2.766 GB, free: 174 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.945e-05/6.21, allocations: 112 kB / 2.766 GB, free: 174 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/6.21, allocations: 145.9 kB / 2.766 GB, free: 174 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/6.213, allocations: 1.108 MB / 2.767 GB, free: 173.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/6.213, allocations: 352 / 2.767 GB, free: 173.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/6.213, allocations: 54.7 kB / 2.767 GB, free: 173.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/6.213, allocations: 31.31 kB / 2.767 GB, free: 173.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/6.214, allocations: 0.9558 MB / 2.768 GB, free: 173.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.01116/6.225, allocations: 6.374 MB / 2.774 GB, free: 171.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000869/6.226, allocations: 0.5652 MB / 2.775 GB, free: 171.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/6.227, allocations: 381.8 kB / 2.775 GB, free: 171.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003991/6.227, allocations: 0.5126 MB / 2.776 GB, free: 170.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/6.227, allocations: 35.91 kB / 2.776 GB, free: 170.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002499/6.23, allocations: 470.4 kB / 2.776 GB, free: 170.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=58): time 5.911e-06/6.23, allocations: 3.906 kB / 2.776 GB, free: 170.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=58): time 0.001397/6.231, allocations: 0.8268 MB / 2.777 GB, free: 170.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/6.231, allocations: 63.61 kB / 2.777 GB, free: 170.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/6.233, allocations: 1.624 MB / 2.779 GB, free: 170.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.564e-05/6.234, allocations: 50.61 kB / 2.779 GB, free: 170.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006933/6.234, allocations: 0.9261 MB / 2.779 GB, free: 169.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/6.234, allocations: 200.3 kB / 2.78 GB, free: 169.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/6.234, allocations: 24.47 kB / 2.78 GB, free: 169.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001034/6.235, allocations: 347 kB / 2.78 GB, free: 169.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005821/6.235, allocations: 379.4 kB / 2.78 GB, free: 169.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000872/6.236, allocations: 0.7069 MB / 2.781 GB, free: 169.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007424/6.237, allocations: 481.7 kB / 2.782 GB, free: 169.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/6.237, allocations: 0 / 2.782 GB, free: 169.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001974/6.239, allocations: 1.271 MB / 2.783 GB, free: 168.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003428/6.239, allocations: 0.9439 MB / 2.784 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/6.239, allocations: 0 / 2.784 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.402e-05/6.239, allocations: 7.312 kB / 2.784 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/6.24, allocations: 274.7 kB / 2.784 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.438e-05/6.241, allocations: 14.62 kB / 2.784 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/6.243, allocations: 166.4 kB / 2.784 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/6.243, allocations: 60.8 kB / 2.784 GB, free: 167.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/6.243, allocations: 7.688 kB / 2.784 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00174/6.245, allocations: 1.037 MB / 2.785 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/6.245, allocations: 3.875 kB / 2.785 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/6.245, allocations: 12.95 kB / 2.785 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/6.246, allocations: 261.5 kB / 2.785 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/6.246, allocations: 7.156 kB / 2.785 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/6.248, allocations: 169.7 kB / 2.786 GB, free: 167.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/6.248, allocations: 56.42 kB / 2.786 GB, free: 167.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 (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.0003133/6.248, allocations: 155.5 kB / 2.786 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003757/6.249, allocations: 205.9 kB / 2.786 GB, free: 167.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/6.251, allocations: 1.047 MB / 2.787 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/6.251, allocations: 7.094 kB / 2.787 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/6.251, allocations: 0 / 2.787 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/6.251, allocations: 3.609 kB / 2.787 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/6.255, allocations: 2.353 MB / 2.789 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/6.255, allocations: 1.875 kB / 2.789 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005548/6.256, allocations: 140.8 kB / 2.79 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/6.256, allocations: 7.812 kB / 2.79 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/6.256, allocations: 20.06 kB / 2.79 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/6.256, allocations: 6.281 kB / 2.79 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/6.256, allocations: 0 / 2.79 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/6.257, allocations: 1.132 MB / 2.791 GB, free: 166.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000757/6.258, allocations: 381.1 kB / 2.791 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/6.258, allocations: 17.64 kB / 2.791 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/6.259, allocations: 107.2 kB / 2.791 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/6.259, allocations: 54.42 kB / 2.791 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/6.259, allocations: 29.66 kB / 2.791 GB, free: 166.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001573/6.261, allocations: 1.218 MB / 2.792 GB, free: 166.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/6.261, allocations: 6.125 kB / 2.792 GB, free: 166.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003189/6.264, allocations: 0.9626 MB / 2.793 GB, free: 166.2 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.001793/6.266, allocations: 0.9833 MB / 2.794 GB, free: 165.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002629/6.269, allocations: 1.537 MB / 2.796 GB, free: 165.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/6.269, allocations: 1.906 kB / 2.796 GB, free: 165.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005082/6.269, allocations: 379.2 kB / 2.796 GB, free: 165.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005967/6.275, allocations: 1.117 MB / 2.797 GB, free: 165.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/6.279, allocations: 2.23 MB / 2.799 GB, free: 165.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008304/6.28, allocations: 1.454 MB / 2.801 GB, free: 164.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002701/6.283, allocations: 0.515 MB / 2.801 GB, free: 164.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/6.283, allocations: 130.9 kB / 2.801 GB, free: 164.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.032e-06/6.283, allocations: 3.875 kB / 2.801 GB, free: 164.4 MB / 1.167 GB Notification: Performance of Templates: time 0.08317/6.366, allocations: 48.37 MB / 2.849 GB, free: 148.6 MB / 1.167 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