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.228/2.228, allocations: 390.5 MB / 398 MB, free: 10.96 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.001374/0.001374, allocations: 176.9 kB / 491.2 MB, free: 1.594 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.648/1.648, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009928/0.0009927, allocations: 101.7 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.754e-05/1.766e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2913, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.426, allocations: 429.3 MB / 1.632 GB, free: 1.949 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/1.426, allocations: 98.94 kB / 1.632 GB, free: 1.898 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.415/5.841, allocations: 1.117 GB / 2.749 GB, free: 172.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.444e-06/5.841, allocations: 0 / 2.749 GB, free: 172.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000469/5.842, allocations: 72.14 kB / 2.749 GB, free: 172.5 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.007441/5.849, allocations: 2.323 MB / 2.751 GB, free: 171.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/5.849, allocations: 10.44 kB / 2.751 GB, free: 171.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/5.851, allocations: 269.1 kB / 2.751 GB, free: 171.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005646/5.856, allocations: 1.598 MB / 2.753 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.781e-05/5.857, allocations: 35.34 kB / 2.753 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000607/5.857, allocations: 91.69 kB / 2.753 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002338/5.86, allocations: 0.9315 MB / 2.754 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/5.862, allocations: 0.9467 MB / 2.755 GB, free: 171 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/5.862, allocations: 3.953 kB / 2.755 GB, free: 171 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/5.862, allocations: 3.906 kB / 2.755 GB, free: 171 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/5.862, allocations: 27.84 kB / 2.755 GB, free: 171 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.01212/5.874, allocations: 6.083 MB / 2.761 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009618/5.875, allocations: 0.5918 MB / 2.761 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/5.876, allocations: 379.8 kB / 2.762 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004029/5.876, allocations: 0.5109 MB / 2.762 GB, free: 167.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/5.876, allocations: 37.12 kB / 2.762 GB, free: 167.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002446/5.879, allocations: 423.5 kB / 2.763 GB, free: 167.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=58): time 7.054e-06/5.879, allocations: 0 / 2.763 GB, free: 167.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=58): time 0.002159/5.881, allocations: 0.82 MB / 2.763 GB, free: 167.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/5.881, allocations: 69.59 kB / 2.763 GB, free: 167.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/5.884, allocations: 1.321 MB / 2.765 GB, free: 167.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002183/5.884, allocations: 29.3 kB / 2.765 GB, free: 167.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008979/5.885, allocations: 0.9181 MB / 2.766 GB, free: 167.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/5.885, allocations: 190.3 kB / 2.766 GB, free: 166.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/5.885, allocations: 9.484 kB / 2.766 GB, free: 166.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.772e-05/5.885, allocations: 344.1 kB / 2.766 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006048/5.886, allocations: 378.3 kB / 2.767 GB, free: 166.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008845/5.887, allocations: 0.6989 MB / 2.767 GB, free: 166.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/5.888, allocations: 488.7 kB / 2.768 GB, free: 166.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/5.888, allocations: 3.812 kB / 2.768 GB, free: 166.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002699/5.891, allocations: 1.22 MB / 2.769 GB, free: 166.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002928/5.891, allocations: 0.9167 MB / 2.77 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/5.891, allocations: 3.938 kB / 2.77 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.882e-05/5.891, allocations: 11.16 kB / 2.77 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/5.892, allocations: 276.7 kB / 2.77 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-05/5.892, allocations: 5.188 kB / 2.77 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/5.895, allocations: 126 kB / 2.77 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/5.895, allocations: 57.78 kB / 2.77 GB, free: 165.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/5.895, allocations: 8.062 kB / 2.77 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001641/5.896, allocations: 0.9589 MB / 2.771 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/5.896, allocations: 3.719 kB / 2.771 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/5.896, allocations: 11.19 kB / 2.771 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/5.897, allocations: 263 kB / 2.771 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.1e-05/5.898, allocations: 9.781 kB / 2.771 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/5.9, allocations: 132.1 kB / 2.772 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/5.9, allocations: 56.83 kB / 2.772 GB, free: 165.1 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.0003402/5.9, allocations: 127.2 kB / 2.772 GB, free: 165 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005771/5.901, allocations: 178.2 kB / 2.772 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/5.903, allocations: 0.9769 MB / 2.773 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/5.903, allocations: 7.031 kB / 2.773 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/5.903, allocations: 3.75 kB / 2.773 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/5.903, allocations: 7.5 kB / 2.773 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005161/5.908, allocations: 2.154 MB / 2.775 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/5.908, allocations: 3.406 kB / 2.775 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/5.909, allocations: 135.5 kB / 2.775 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/5.909, allocations: 2.812 kB / 2.775 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/5.909, allocations: 12.66 kB / 2.775 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/5.909, allocations: 5.5 kB / 2.775 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/5.909, allocations: 2.562 kB / 2.775 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/5.911, allocations: 1.068 MB / 2.776 GB, free: 164 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/5.912, allocations: 351.4 kB / 2.777 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005827/5.913, allocations: 6.594 kB / 2.777 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/5.914, allocations: 103.8 kB / 2.777 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/5.914, allocations: 45.38 kB / 2.777 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/5.914, allocations: 34.14 kB / 2.777 GB, free: 163.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002122/5.917, allocations: 0.9657 MB / 2.778 GB, free: 163.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/5.917, allocations: 0 / 2.778 GB, free: 163.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004748/5.921, allocations: 0.9617 MB / 2.779 GB, free: 163.5 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.002124/5.923, allocations: 0.9929 MB / 2.78 GB, free: 163.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003261/5.927, allocations: 1.477 MB / 2.781 GB, free: 163.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/5.927, allocations: 2.281 kB / 2.781 GB, free: 163.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005326/5.927, allocations: 356.7 kB / 2.781 GB, free: 163.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005276/5.933, allocations: 0.9109 MB / 2.782 GB, free: 163.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005522/5.938, allocations: 2.155 MB / 2.784 GB, free: 162.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/5.939, allocations: 1.451 MB / 2.786 GB, free: 161.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003288/5.943, allocations: 473.6 kB / 2.786 GB, free: 161.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004569/5.943, allocations: 122.9 kB / 2.786 GB, free: 161.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.733e-06/5.943, allocations: 3.875 kB / 2.786 GB, free: 161.7 MB / 1.167 GB Notification: Performance of Templates: time 0.06101/6.004, allocations: 36.88 MB / 2.822 GB, free: 160.1 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