Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00165/0.00165, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001691/0.001691, allocations: 207.6 kB / 23 MB, free: 4.977 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.6/1.6, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.519/3.519, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002052/0.002052, allocations: 74.5 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4103, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.023/0.4333, allocations: 16.35 MB / 1.343 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008484/0.4418, allocations: 4.684 MB / 1.348 GB, free: 11.9 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007127/0.4425, allocations: 19.81 kB / 1.348 GB, free: 11.88 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.4435, allocations: 258.4 kB / 1.348 GB, free: 11.62 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002038/0.4456, allocations: 0.6647 MB / 1.349 GB, free: 10.96 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.4477, allocations: 0.7645 MB / 1.349 GB, free: 10.2 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0015/0.4492, allocations: 0.9864 MB / 1.35 GB, free: 9.207 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005349/0.4498, allocations: 277.6 kB / 1.351 GB, free: 8.926 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009569/0.4507, allocations: 498 kB / 1.351 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004578/0.4512, allocations: 322.6 kB / 1.351 GB, free: 8.121 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.514e-05/0.4512, allocations: 32 kB / 1.351 GB, free: 8.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.4526, allocations: 0.6317 MB / 1.352 GB, free: 7.457 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.4527, allocations: 131.5 kB / 1.352 GB, free: 7.328 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.4529, allocations: 202.9 kB / 1.352 GB, free: 7.129 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.4543, allocations: 0.8717 MB / 1.353 GB, free: 6.254 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4543, allocations: 0 / 1.353 GB, free: 6.254 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4543, allocations: 0 / 1.353 GB, free: 6.254 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.4543, allocations: 4 kB / 1.353 GB, free: 6.25 MB / 1.045 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.001397/0.4557, allocations: 0.8204 MB / 1.354 GB, free: 5.398 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.4558, allocations: 12.02 kB / 1.354 GB, free: 5.387 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.4559, allocations: 60.56 kB / 1.354 GB, free: 5.328 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008155/0.4568, allocations: 414.8 kB / 1.354 GB, free: 4.895 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.4568, allocations: 24.44 kB / 1.354 GB, free: 4.871 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.4568, allocations: 28 kB / 1.354 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.4574, allocations: 281.3 kB / 1.355 GB, free: 4.551 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4574, allocations: 3.938 kB / 1.355 GB, free: 4.547 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.4575, allocations: 12 kB / 1.355 GB, free: 4.535 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.4575, allocations: 12 kB / 1.355 GB, free: 4.523 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.4579, allocations: 189.8 kB / 1.355 GB, free: 4.336 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.4598, allocations: 1.167 MB / 1.356 GB, free: 3.121 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.4601, allocations: 150.7 kB / 1.356 GB, free: 2.965 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.4603, allocations: 80.8 kB / 1.356 GB, free: 2.883 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/0.4616, allocations: 0.539 MB / 1.357 GB, free: 2.324 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.4617, allocations: 30.56 kB / 1.357 GB, free: 2.285 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.4617, allocations: 0 / 1.357 GB, free: 2.285 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0006917/0.4623, allocations: 255.8 kB / 1.357 GB, free: 2.031 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.4624, allocations: 55.41 kB / 1.357 GB, free: 1.965 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/0.4631, allocations: 0.5605 MB / 1.358 GB, free: 1.395 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.4631, allocations: 33.7 kB / 1.358 GB, free: 1.355 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.4633, allocations: 272.3 kB / 1.358 GB, free: 1.086 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.4634, allocations: 51.59 kB / 1.358 GB, free: 1.035 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.4635, allocations: 69.92 kB / 1.358 GB, free: 0.957 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4636, allocations: 354.8 kB / 1.358 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.4638, allocations: 81.92 kB / 1.358 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.4643, allocations: 446 kB / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.4647, allocations: 234.2 kB / 1.359 GB, free: 15.72 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4648, allocations: 4 kB / 1.359 GB, free: 15.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006092/0.4654, allocations: 310.4 kB / 1.359 GB, free: 15.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4654, allocations: 8 kB / 1.359 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.4654, allocations: 0 / 1.359 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.4654, allocations: 7.938 kB / 1.359 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.4657, allocations: 67.89 kB / 1.36 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.4657, allocations: 4 kB / 1.36 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.466, allocations: 36.05 kB / 1.36 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.4661, allocations: 20 kB / 1.36 GB, free: 15.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003353/0.4664, allocations: 216.6 kB / 1.36 GB, free: 15.05 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004396/0.4668, allocations: 441.7 kB / 1.36 GB, free: 14.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004174/0.4672, allocations: 235.1 kB / 1.36 GB, free: 14.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.903e-06/0.4673, allocations: 3.938 kB / 1.36 GB, free: 14.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005963/0.4678, allocations: 309.1 kB / 1.361 GB, free: 13.94 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.4679, allocations: 13.66 kB / 1.361 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.4679, allocations: 192 / 1.361 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.171e-06/0.4679, allocations: 4 kB / 1.361 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.4681, allocations: 67.78 kB / 1.361 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.4681, allocations: 4 kB / 1.361 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.4685, allocations: 35.86 kB / 1.361 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.4685, allocations: 20 kB / 1.361 GB, free: 13.8 MB / 1.061 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.0001529/0.4686, allocations: 201.9 kB / 1.361 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.729e-05/0.4687, allocations: 55.66 kB / 1.361 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006031/0.4693, allocations: 259.1 kB / 1.361 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4693, allocations: 3.984 kB / 1.361 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.4693, allocations: 0 / 1.361 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.4695, allocations: 67.62 kB / 1.361 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.4696, allocations: 0 / 1.361 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.4697, allocations: 11.98 kB / 1.361 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.4698, allocations: 19.89 kB / 1.361 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004874/0.4703, allocations: 280.7 kB / 1.362 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005415/0.4708, allocations: 407.9 kB / 1.362 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001691/0.471, allocations: 74.3 kB / 1.362 GB, free: 12.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004745/0.4715, allocations: 402.8 kB / 1.363 GB, free: 12.02 MB / 1.061 GB Notification: Performance of Backend: time 6.11e-07/0.4715, allocations: 0 / 1.363 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003357/0.4748, allocations: 0.894 MB / 1.363 GB, free: 11.34 MB / 1.061 GB Notification: Performance of SimCode: time 0.002151/0.477, allocations: 1.385 MB / 1.365 GB, free: 9.91 MB / 1.061 GB Notification: Performance of Templates: time 0.02383/0.5008, allocations: 12.77 MB / 1.377 GB, free: 13.36 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.518937026005005]