Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002257/0.002257, allocations: 216.2 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.397/3.397, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 64.69 kB / 1.187 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4195, allocations: 181.9 MB / 1.365 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02157/0.441, allocations: 16.35 MB / 1.381 GB, free: 13.36 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008396/0.4494, allocations: 4.692 MB / 1.385 GB, free: 8.648 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006425/0.4501, allocations: 23.81 kB / 1.385 GB, free: 8.625 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000955/0.451, allocations: 258.3 kB / 1.385 GB, free: 8.371 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.4528, allocations: 0.6686 MB / 1.386 GB, free: 7.699 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.455, allocations: 0.7324 MB / 1.387 GB, free: 6.973 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001431/0.4564, allocations: 0.9858 MB / 1.388 GB, free: 5.984 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005093/0.4569, allocations: 281.6 kB / 1.388 GB, free: 5.699 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008876/0.4578, allocations: 494 kB / 1.388 GB, free: 5.215 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.4582, allocations: 306.6 kB / 1.389 GB, free: 4.914 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.043e-05/0.4583, allocations: 28 kB / 1.389 GB, free: 4.887 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.4595, allocations: 0.6083 MB / 1.389 GB, free: 4.277 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.4597, allocations: 143.5 kB / 1.39 GB, free: 4.137 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.4599, allocations: 198.9 kB / 1.39 GB, free: 3.941 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.4613, allocations: 0.8678 MB / 1.391 GB, free: 3.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4613, allocations: 4 kB / 1.391 GB, free: 3.066 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4613, allocations: 0 / 1.391 GB, free: 3.066 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.4613, allocations: 0 / 1.391 GB, free: 3.066 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001383/0.4627, allocations: 0.8189 MB / 1.391 GB, free: 2.215 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.4627, allocations: 12.03 kB / 1.391 GB, free: 2.203 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.4629, allocations: 64.56 kB / 1.391 GB, free: 2.141 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007937/0.4637, allocations: 402.9 kB / 1.392 GB, free: 1.723 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.4637, allocations: 24.44 kB / 1.392 GB, free: 1.699 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.4638, allocations: 32 kB / 1.392 GB, free: 1.668 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.4643, allocations: 281.3 kB / 1.392 GB, free: 1.371 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.4644, allocations: 3.938 kB / 1.392 GB, free: 1.367 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.4644, allocations: 8 kB / 1.392 GB, free: 1.359 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.4644, allocations: 8 kB / 1.392 GB, free: 1.352 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.4648, allocations: 189.8 kB / 1.392 GB, free: 1.164 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.4668, allocations: 1.174 MB / 1.394 GB, free: 15.93 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.4671, allocations: 158.7 kB / 1.394 GB, free: 15.77 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.4673, allocations: 76.81 kB / 1.394 GB, free: 15.69 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/0.4685, allocations: 0.5272 MB / 1.394 GB, free: 15.14 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.4686, allocations: 34.56 kB / 1.394 GB, free: 15.1 MB / 1.092 GB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.4686, allocations: 0 / 1.394 GB, free: 15.1 MB / 1.092 GB Notification: Performance of matching and sorting (n=15): time 0.0007402/0.4693, allocations: 261.1 kB / 1.395 GB, free: 14.84 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.4694, allocations: 55.34 kB / 1.395 GB, free: 14.77 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007031/0.4701, allocations: 0.5605 MB / 1.395 GB, free: 14.2 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.4702, allocations: 29.7 kB / 1.395 GB, free: 14.17 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.4704, allocations: 272.3 kB / 1.395 GB, free: 13.9 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.4705, allocations: 59.53 kB / 1.395 GB, free: 13.84 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.4706, allocations: 65.97 kB / 1.396 GB, free: 13.77 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.4708, allocations: 358.8 kB / 1.396 GB, free: 13.41 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.471, allocations: 81.94 kB / 1.396 GB, free: 13.32 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.4714, allocations: 446 kB / 1.396 GB, free: 12.79 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.4719, allocations: 238.9 kB / 1.397 GB, free: 12.52 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4719, allocations: 0 / 1.397 GB, free: 12.52 MB / 1.092 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006216/0.4725, allocations: 310.5 kB / 1.397 GB, free: 12.21 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4725, allocations: 4 kB / 1.397 GB, free: 12.21 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.4725, allocations: 7.938 kB / 1.397 GB, free: 12.2 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4726, allocations: 4.25 kB / 1.397 GB, free: 12.2 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.4728, allocations: 71.89 kB / 1.397 GB, free: 12.12 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4728, allocations: 4 kB / 1.397 GB, free: 12.12 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.4731, allocations: 35.83 kB / 1.397 GB, free: 12.09 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.4732, allocations: 15.98 kB / 1.397 GB, free: 12.07 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003388/0.4735, allocations: 217.7 kB / 1.397 GB, free: 11.86 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000524/0.474, allocations: 441.7 kB / 1.398 GB, free: 11.32 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004182/0.4745, allocations: 227.7 kB / 1.398 GB, free: 11.07 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.4745, allocations: 3.938 kB / 1.398 GB, free: 11.06 MB / 1.092 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006321/0.4751, allocations: 317.1 kB / 1.398 GB, free: 10.75 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.4751, allocations: 4 kB / 1.398 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4751, allocations: 4 kB / 1.398 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.4751, allocations: 11.94 kB / 1.398 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.4753, allocations: 59.91 kB / 1.398 GB, free: 10.67 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4754, allocations: 4 kB / 1.398 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.4757, allocations: 44.06 kB / 1.398 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.4757, allocations: 16 kB / 1.398 GB, free: 10.61 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001513/0.4759, allocations: 200.1 kB / 1.399 GB, free: 10.4 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.4759, allocations: 43.72 kB / 1.399 GB, free: 10.36 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005818/0.4765, allocations: 263.8 kB / 1.399 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.4765, allocations: 7.984 kB / 1.399 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4765, allocations: 0 / 1.399 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.4765, allocations: 0 / 1.399 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.4777, allocations: 0.6477 MB / 1.399 GB, free: 9.391 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.4777, allocations: 4 kB / 1.399 GB, free: 9.387 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.4778, allocations: 32.11 kB / 1.399 GB, free: 9.355 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4778, allocations: 0 / 1.399 GB, free: 9.355 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.4779, allocations: 16.06 kB / 1.4 GB, free: 9.34 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4779, allocations: 0 / 1.4 GB, free: 9.34 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4779, allocations: 4 kB / 1.4 GB, free: 9.336 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.4784, allocations: 358.5 kB / 1.4 GB, free: 8.957 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.4785, allocations: 67.58 kB / 1.4 GB, free: 8.891 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.4786, allocations: 4 kB / 1.4 GB, free: 8.887 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.4788, allocations: 15.98 kB / 1.4 GB, free: 8.871 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.4788, allocations: 11.97 kB / 1.4 GB, free: 8.859 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.4789, allocations: 16 kB / 1.4 GB, free: 8.844 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004872/0.4793, allocations: 394.8 kB / 1.4 GB, free: 8.461 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.4793, allocations: 0 / 1.4 GB, free: 8.461 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000757/0.4801, allocations: 235.5 kB / 1.401 GB, free: 8.23 MB / 1.092 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 (17): * Single equations (assignments): 15 * 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.001686/0.4818, allocations: 0.5118 MB / 1.401 GB, free: 7.867 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0007624/0.4826, allocations: 300.3 kB / 1.401 GB, free: 7.574 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4826, allocations: 0 / 1.401 GB, free: 7.574 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.4828, allocations: 96 kB / 1.401 GB, free: 7.48 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.4839, allocations: 224.8 kB / 1.402 GB, free: 7.27 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.4854, allocations: 0.8501 MB / 1.402 GB, free: 6.371 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.4857, allocations: 246.1 kB / 1.403 GB, free: 6.105 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.4858, allocations: 39.42 kB / 1.403 GB, free: 6.066 MB / 1.092 GB Notification: Performance of SimCode: time 3.31e-07/0.4858, allocations: 4 kB / 1.403 GB, free: 6.062 MB / 1.092 GB Notification: Performance of Templates: time 0.01401/0.4998, allocations: 8.514 MB / 1.411 GB, free: 13.61 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.42135477392003]