Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008031/0.008031, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001694/0.001694, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.902/2.902, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.89 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3984, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02019/0.4187, allocations: 15.55 MB / 1.223 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006674/0.4254, allocations: 4.322 MB / 1.227 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006778/0.4261, allocations: 15.88 kB / 1.227 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.4272, allocations: 274.2 kB / 1.227 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.4289, allocations: 0.5984 MB / 1.228 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.4309, allocations: 0.7032 MB / 1.229 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001466/0.4324, allocations: 1.037 MB / 1.23 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006024/0.433, allocations: 327.8 kB / 1.23 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009498/0.434, allocations: 434.3 kB / 1.23 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005743/0.4345, allocations: 322.5 kB / 1.231 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.004e-05/0.4346, allocations: 28 kB / 1.231 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.4359, allocations: 0.6394 MB / 1.231 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.4361, allocations: 95.61 kB / 1.231 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.4364, allocations: 230.7 kB / 1.232 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.4377, allocations: 0.7633 MB / 1.232 GB, free: 256 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4378, allocations: 0 / 1.232 GB, free: 256 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4378, allocations: 0 / 1.232 GB, free: 256 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.4378, allocations: 0 / 1.232 GB, free: 256 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001674/0.4395, allocations: 0.8349 MB / 1.233 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.4395, allocations: 8.031 kB / 1.233 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.4397, allocations: 52.38 kB / 1.233 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008024/0.4405, allocations: 437.3 kB / 1.234 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.4405, allocations: 28.42 kB / 1.234 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.4406, allocations: 28 kB / 1.234 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.4411, allocations: 215.2 kB / 1.234 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4411, allocations: 0 / 1.234 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.4411, allocations: 12 kB / 1.234 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.4411, allocations: 4 kB / 1.234 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.4415, allocations: 165.6 kB / 1.234 GB, free: 14.4 MB / 0.9981 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.001682/0.4432, allocations: 0.9462 MB / 1.235 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.4435, allocations: 130.5 kB / 1.235 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.4437, allocations: 70.69 kB / 1.235 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/0.444, allocations: 340.4 kB / 1.236 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.444, allocations: 34.56 kB / 1.236 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.444, allocations: 0 / 1.236 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0006356/0.4447, allocations: 233.1 kB / 1.236 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.4447, allocations: 55.41 kB / 1.236 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005552/0.4453, allocations: 481.9 kB / 1.236 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.4453, allocations: 33.7 kB / 1.236 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.4455, allocations: 224.6 kB / 1.237 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.4456, allocations: 55.3 kB / 1.237 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.4457, allocations: 57.61 kB / 1.237 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4459, allocations: 358.7 kB / 1.237 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.4461, allocations: 72.81 kB / 1.237 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.4464, allocations: 151.7 kB / 1.237 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.4467, allocations: 159.7 kB / 1.237 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4468, allocations: 4 kB / 1.237 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005356/0.4473, allocations: 254.4 kB / 1.238 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.4473, allocations: 8 kB / 1.238 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4473, allocations: 0 / 1.238 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.4474, allocations: 0 / 1.238 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.4476, allocations: 52 kB / 1.238 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4476, allocations: 3.938 kB / 1.238 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.4479, allocations: 43.72 kB / 1.238 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.448, allocations: 8 kB / 1.238 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002838/0.4483, allocations: 188.1 kB / 1.238 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002601/0.4485, allocations: 175.8 kB / 1.238 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003889/0.4489, allocations: 170.6 kB / 1.238 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.4489, allocations: 0 / 1.238 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005174/0.4495, allocations: 253 kB / 1.239 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.4495, allocations: 7.984 kB / 1.239 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4495, allocations: 4 kB / 1.239 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-06/0.4495, allocations: 0 / 1.239 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.4497, allocations: 47.91 kB / 1.239 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.4497, allocations: 4 kB / 1.239 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.45, allocations: 31.81 kB / 1.239 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.4501, allocations: 12.06 kB / 1.239 GB, free: 9.477 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001294/0.4502, allocations: 200.1 kB / 1.239 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-05/0.4503, allocations: 43.44 kB / 1.239 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005346/0.4508, allocations: 250.7 kB / 1.239 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.4509, allocations: 0 / 1.239 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4509, allocations: 4 kB / 1.239 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.4509, allocations: 8 kB / 1.239 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.4519, allocations: 0.6927 MB / 1.24 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4519, allocations: 0 / 1.24 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.4521, allocations: 35.91 kB / 1.24 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.4521, allocations: 4.125 kB / 1.24 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.4521, allocations: 8 kB / 1.24 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4521, allocations: 3.938 kB / 1.24 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4521, allocations: 4 kB / 1.24 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.4527, allocations: 350.1 kB / 1.24 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.4528, allocations: 132.6 kB / 1.24 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.4529, allocations: 192 / 1.24 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.4531, allocations: 19.92 kB / 1.24 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.4531, allocations: 15.97 kB / 1.24 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.4532, allocations: 11.98 kB / 1.24 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004169/0.4536, allocations: 338.9 kB / 1.241 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4536, allocations: 0 / 1.241 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007238/0.4543, allocations: 195.7 kB / 1.241 GB, free: 7.066 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001273/0.4556, allocations: 481.4 kB / 1.241 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006794/0.4563, allocations: 267.7 kB / 1.242 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4563, allocations: 3.938 kB / 1.242 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.4565, allocations: 84.27 kB / 1.242 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009284/0.4575, allocations: 196.5 kB / 1.242 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.4588, allocations: 0.7049 MB / 1.243 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.4592, allocations: 0.827 MB / 1.243 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003063/0.4595, allocations: 87.52 kB / 1.243 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-05/0.4596, allocations: 39.42 kB / 1.243 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/0.4596, allocations: 0 / 1.243 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of Templates: time 0.6421/1.102, allocations: 8.506 MB / 1.252 GB, free: 38.38 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches