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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001476/0.001476, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.462/1.462, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.518/2.518, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.818/0.8195, allocations: 140.4 MB / 0.9491 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1508/0.9704, allocations: 153 MB / 1.099 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.04246/1.013, allocations: 30.19 MB / 1.128 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007022/1.02, allocations: 127.2 kB / 1.128 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003846/1.024, allocations: 0.8701 MB / 1.129 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009313/1.033, allocations: 2.933 MB / 1.132 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00586/1.039, allocations: 2.291 MB / 1.134 GB, free: 4.148 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007372/1.046, allocations: 5.405 MB / 1.139 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003675/1.05, allocations: 2.193 MB / 1.141 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007165/1.057, allocations: 2.708 MB / 1.144 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003975/1.061, allocations: 2.023 MB / 1.146 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001048/1.062, allocations: 212 kB / 1.146 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003369/1.066, allocations: 1.1 MB / 1.147 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001062/1.067, allocations: 0.5603 MB / 1.148 GB, free: 5.855 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002437/1.069, allocations: 1.267 MB / 1.149 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005162/1.075, allocations: 3.275 MB / 1.152 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/1.075, allocations: 4 kB / 1.152 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.354e-06/1.075, allocations: 0 / 1.152 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001345/1.075, allocations: 4 kB / 1.152 GB, free: 1.289 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.007133/1.082, allocations: 2.791 MB / 1.155 GB, free: 14.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.082, allocations: 8.031 kB / 1.155 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007375/1.083, allocations: 264.8 kB / 1.155 GB, free: 14.16 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003032/1.086, allocations: 1.449 MB / 1.157 GB, free: 12.64 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/1.086, allocations: 102.3 kB / 1.157 GB, free: 12.54 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/1.086, allocations: 143.9 kB / 1.157 GB, free: 12.4 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/1.089, allocations: 1.159 MB / 1.158 GB, free: 11.21 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/1.089, allocations: 3.938 kB / 1.158 GB, free: 11.21 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/1.089, allocations: 44 kB / 1.158 GB, free: 11.16 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/1.089, allocations: 28 kB / 1.158 GB, free: 11.14 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/1.091, allocations: 1.016 MB / 1.159 GB, free: 10.11 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.01108/1.102, allocations: 6.316 MB / 1.165 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009834/1.103, allocations: 0.5724 MB / 1.166 GB, free: 2.754 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/1.104, allocations: 386.3 kB / 1.166 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004066/1.104, allocations: 0.4992 MB / 1.167 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/1.104, allocations: 39.11 kB / 1.167 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00174/1.106, allocations: 306.8 kB / 1.167 GB, free: 1.414 MB / 0.92 GB Notification: Performance of pre-optimization done (n=58): time 6.412e-06/1.106, allocations: 0 / 1.167 GB, free: 1.414 MB / 0.92 GB Notification: Performance of matching and sorting (n=58): time 0.002539/1.108, allocations: 1.16 MB / 1.168 GB, free: 252 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/1.108, allocations: 59.97 kB / 1.168 GB, free: 180 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002995/1.111, allocations: 1.908 MB / 1.17 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/1.112, allocations: 41.7 kB / 1.17 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008192/1.112, allocations: 0.934 MB / 1.171 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/1.113, allocations: 197.1 kB / 1.171 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004741/1.113, allocations: 302.5 kB / 1.172 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.113, allocations: 357.9 kB / 1.172 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008458/1.114, allocations: 453.9 kB / 1.172 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/1.115, allocations: 0.6879 MB / 1.173 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/1.117, allocations: 0.9852 MB / 1.174 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/1.117, allocations: 0 / 1.174 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002871/1.12, allocations: 1.428 MB / 1.175 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/1.12, allocations: 8 kB / 1.175 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/1.12, allocations: 4 kB / 1.175 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.043e-05/1.12, allocations: 8 kB / 1.175 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/1.121, allocations: 295.5 kB / 1.176 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.428e-05/1.121, allocations: 12.31 kB / 1.176 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/1.123, allocations: 147.6 kB / 1.176 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/1.124, allocations: 67.94 kB / 1.176 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001553/1.125, allocations: 0.7172 MB / 1.177 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001042/1.126, allocations: 0.6723 MB / 1.177 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001475/1.128, allocations: 0.9305 MB / 1.178 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.119e-06/1.128, allocations: 4 kB / 1.178 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002497/1.13, allocations: 1.385 MB / 1.18 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.13, allocations: 8 kB / 1.18 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.13, allocations: 4.375 kB / 1.18 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/1.13, allocations: 12 kB / 1.18 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/1.132, allocations: 279.5 kB / 1.18 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/1.132, allocations: 8 kB / 1.18 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/1.133, allocations: 163.5 kB / 1.18 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/1.133, allocations: 55.95 kB / 1.18 GB, free: 3.824 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.0003421/1.134, allocations: 240 kB / 1.18 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004074/1.134, allocations: 197.5 kB / 1.18 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/1.137, allocations: 1.1 MB / 1.182 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/1.137, allocations: 12 kB / 1.182 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.137, allocations: 7.875 kB / 1.182 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/1.137, allocations: 7.984 kB / 1.182 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004086/1.141, allocations: 2.445 MB / 1.184 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.141, allocations: 0 / 1.184 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/1.141, allocations: 140 kB / 1.184 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/1.141, allocations: 4 kB / 1.184 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.816e-05/1.141, allocations: 20 kB / 1.184 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/1.141, allocations: 4 kB / 1.184 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/1.141, allocations: 4 kB / 1.184 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/1.143, allocations: 1.07 MB / 1.185 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006741/1.144, allocations: 362.2 kB / 1.186 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/1.144, allocations: 16 kB / 1.186 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.145, allocations: 95.75 kB / 1.186 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/1.145, allocations: 44.59 kB / 1.186 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.285e-05/1.145, allocations: 35.98 kB / 1.186 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00197/1.147, allocations: 1.252 MB / 1.187 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/1.147, allocations: 0 / 1.187 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002964/1.15, allocations: 0.9121 MB / 1.188 GB, free: 11.71 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.0009248/1.151, allocations: 351.3 kB / 1.188 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003747/1.155, allocations: 1.701 MB / 1.19 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.155, allocations: 0 / 1.19 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006681/1.156, allocations: 407.5 kB / 1.19 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00512/1.161, allocations: 1.075 MB / 1.191 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006353/1.167, allocations: 3.724 MB / 1.195 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/1.168, allocations: 1.405 MB / 1.196 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002263/1.171, allocations: 412.8 kB / 1.197 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/1.171, allocations: 167.3 kB / 1.197 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/1.171, allocations: 4 kB / 1.197 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of Templates: time 0.06987/1.241, allocations: 38.29 MB / 1.234 GB, free: 12.75 MB / 0.9981 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/jenkins/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