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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 183.3 kB / 16.92 MB, free: 6.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005142/0.0005143, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6751/0.6756, allocations: 142.4 MB / 0.9557 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1795/0.8552, allocations: 151.1 MB / 1.103 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.04386/0.8991, allocations: 30.15 MB / 1.133 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005908/0.9051, allocations: 119.2 kB / 1.133 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003216/0.9083, allocations: 0.8272 MB / 1.134 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009155/0.9175, allocations: 2.904 MB / 1.136 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00631/0.9239, allocations: 2.283 MB / 1.139 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.009545/0.9334, allocations: 7.402 MB / 1.146 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003724/0.9372, allocations: 1.85 MB / 1.148 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005975/0.9432, allocations: 2.364 MB / 1.15 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003754/0.947, allocations: 1.914 MB / 1.152 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0008514/0.9479, allocations: 96 kB / 1.152 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.9511, allocations: 0.9319 MB / 1.153 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000942/0.9521, allocations: 449.8 kB / 1.153 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002161/0.9542, allocations: 1.148 MB / 1.154 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003183/0.9574, allocations: 2.435 MB / 1.157 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.9575, allocations: 0 / 1.157 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9575, allocations: 0 / 1.157 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001124/0.9576, allocations: 4 kB / 1.157 GB, free: 0.8203 MB / 0.9044 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.00551/0.9631, allocations: 2.34 MB / 1.159 GB, free: 14.41 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.9632, allocations: 12.03 kB / 1.159 GB, free: 14.4 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006708/0.9639, allocations: 260.8 kB / 1.159 GB, free: 14.14 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/0.9664, allocations: 1.453 MB / 1.161 GB, free: 12.62 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/0.9665, allocations: 102.3 kB / 1.161 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.9667, allocations: 136 kB / 1.161 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.969, allocations: 1.167 MB / 1.162 GB, free: 11.19 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.9691, allocations: 3.938 kB / 1.162 GB, free: 11.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.9692, allocations: 44 kB / 1.162 GB, free: 11.14 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.9692, allocations: 31.94 kB / 1.162 GB, free: 11.11 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.9711, allocations: 1.032 MB / 1.163 GB, free: 10.07 MB / 0.92 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.01068/0.9818, allocations: 6.355 MB / 1.169 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009862/0.9828, allocations: 0.5737 MB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006009/0.9834, allocations: 386.4 kB / 1.17 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004059/0.9838, allocations: 0.5031 MB / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.9839, allocations: 39.12 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001622/0.9855, allocations: 334.8 kB / 1.171 GB, free: 1.297 MB / 0.92 GB Notification: Performance of pre-optimization done (n=58): time 3.617e-06/0.9855, allocations: 0 / 1.171 GB, free: 1.297 MB / 0.92 GB Notification: Performance of matching and sorting (n=58): time 0.00216/0.9877, allocations: 1.141 MB / 1.172 GB, free: 152 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.9877, allocations: 59.97 kB / 1.172 GB, free: 80 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002576/0.9903, allocations: 1.908 MB / 1.174 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.9905, allocations: 49.7 kB / 1.174 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007877/0.9913, allocations: 0.9145 MB / 1.175 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.9915, allocations: 197.1 kB / 1.175 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.9917, allocations: 121.6 kB / 1.175 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9918, allocations: 349.9 kB / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008288/0.9926, allocations: 442.4 kB / 1.176 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.9936, allocations: 0.684 MB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.9952, allocations: 0.9618 MB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.9952, allocations: 3.938 kB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002622/0.9978, allocations: 1.412 MB / 1.179 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.998, allocations: 190.7 kB / 1.179 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.998, allocations: 7.938 kB / 1.179 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.998, allocations: 8 kB / 1.179 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.9993, allocations: 287.5 kB / 1.18 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.9993, allocations: 12 kB / 1.18 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/1.001, allocations: 155.6 kB / 1.18 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/1.001, allocations: 63.89 kB / 1.18 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.001, allocations: 5.875 kB / 1.18 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001991/1.003, allocations: 1.155 MB / 1.181 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.003, allocations: 384 / 1.181 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/1.003, allocations: 16 kB / 1.181 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.005, allocations: 283.6 kB / 1.181 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/1.005, allocations: 15.92 kB / 1.181 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/1.006, allocations: 155.1 kB / 1.182 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/1.006, allocations: 55.95 kB / 1.182 GB, free: 6.441 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008383/1.007, allocations: 448.8 kB / 1.182 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000381/1.008, allocations: 201.4 kB / 1.182 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/1.01, allocations: 1.08 MB / 1.183 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/1.01, allocations: 8 kB / 1.183 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.01, allocations: 0 / 1.183 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/1.01, allocations: 3.984 kB / 1.183 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003831/1.014, allocations: 2.418 MB / 1.186 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.014, allocations: 7.984 kB / 1.186 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/1.014, allocations: 139.9 kB / 1.186 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/1.014, allocations: 8 kB / 1.186 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/1.014, allocations: 19.98 kB / 1.186 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/1.014, allocations: 4 kB / 1.186 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.015, allocations: 7.938 kB / 1.186 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/1.016, allocations: 1.062 MB / 1.187 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007699/1.017, allocations: 378.2 kB / 1.187 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/1.017, allocations: 20 kB / 1.187 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009997/1.018, allocations: 99.66 kB / 1.187 GB, free: 420 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/1.018, allocations: 52.53 kB / 1.187 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/1.018, allocations: 27.98 kB / 1.187 GB, free: 340 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001804/1.02, allocations: 1.252 MB / 1.189 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/1.02, allocations: 0 / 1.189 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002414/1.023, allocations: 0.9044 MB / 1.189 GB, free: 14.16 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007447/1.023, allocations: 344.8 kB / 1.19 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002949/1.026, allocations: 1.618 MB / 1.191 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/1.026, allocations: 448 / 1.191 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006578/1.027, allocations: 403.5 kB / 1.192 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006775/1.034, allocations: 1.142 MB / 1.193 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005546/1.039, allocations: 3.786 MB / 1.197 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009313/1.04, allocations: 1.397 MB / 1.198 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006127/1.041, allocations: 171.4 kB / 1.198 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of SimCode: time 1.202e-06/1.041, allocations: 0 / 1.198 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of Templates: time 0.04833/1.089, allocations: 30.83 MB / 1.228 GB, free: 6.727 MB / 0.9825 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches