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.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.001608/0.001608, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001839/0.001839, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.22/3.22, allocations: 0.505 GB / 0.8108 GB, free: 22.03 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [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.002027/0.002027, allocations: 68.14 kB / 1.178 GB, free: 16.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3557, allocations: 180.2 MB / 1.354 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01864/0.3744, allocations: 15.89 MB / 1.37 GB, free: 7.996 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007296/0.3817, allocations: 4.459 MB / 1.374 GB, free: 3.527 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007208/0.3824, allocations: 19.81 kB / 1.374 GB, free: 3.508 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.3835, allocations: 278.3 kB / 1.374 GB, free: 3.234 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.3855, allocations: 0.6803 MB / 1.375 GB, free: 2.551 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.3876, allocations: 0.7228 MB / 1.376 GB, free: 1.836 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001792/0.3894, allocations: 1.052 MB / 1.377 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005227/0.3899, allocations: 264.5 kB / 1.377 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009973/0.3909, allocations: 0.4981 MB / 1.377 GB, free: 8 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005346/0.3915, allocations: 322.5 kB / 1.378 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.87e-05/0.3915, allocations: 28 kB / 1.378 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.3928, allocations: 0.6512 MB / 1.378 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.393, allocations: 103.5 kB / 1.378 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.3932, allocations: 226.7 kB / 1.379 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.3945, allocations: 0.7666 MB / 1.379 GB, free: 13.92 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3945, allocations: 0 / 1.379 GB, free: 13.92 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3945, allocations: 3.938 kB / 1.379 GB, free: 13.91 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3945, allocations: 0 / 1.379 GB, free: 13.91 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001341/0.3959, allocations: 0.7763 MB / 1.38 GB, free: 13.11 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3959, allocations: 11.97 kB / 1.38 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.396, allocations: 56.61 kB / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000723/0.3967, allocations: 374.6 kB / 1.381 GB, free: 12.65 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.3968, allocations: 20.44 kB / 1.381 GB, free: 12.63 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.3968, allocations: 28 kB / 1.381 GB, free: 12.6 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.3973, allocations: 211.2 kB / 1.381 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3973, allocations: 4 kB / 1.381 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.3973, allocations: 8 kB / 1.381 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.3973, allocations: 4 kB / 1.381 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.3977, allocations: 165.6 kB / 1.381 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.3994, allocations: 0.9034 MB / 1.382 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.3997, allocations: 130.6 kB / 1.382 GB, free: 11.1 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.3998, allocations: 64.81 kB / 1.382 GB, free: 11.03 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.4, allocations: 36.03 kB / 1.382 GB, free: 11 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.4, allocations: 34.56 kB / 1.382 GB, free: 10.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 1.893e-06/0.4, allocations: 0 / 1.382 GB, free: 10.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.0006419/0.4006, allocations: 245.2 kB / 1.382 GB, free: 10.71 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.4007, allocations: 51.41 kB / 1.382 GB, free: 10.64 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005692/0.4013, allocations: 478 kB / 1.383 GB, free: 10.17 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.4013, allocations: 33.7 kB / 1.383 GB, free: 10.13 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.4015, allocations: 228.8 kB / 1.383 GB, free: 9.902 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.4015, allocations: 47.53 kB / 1.383 GB, free: 9.855 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-05/0.4016, allocations: 53.7 kB / 1.383 GB, free: 9.797 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.4018, allocations: 362.7 kB / 1.384 GB, free: 9.434 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.402, allocations: 76.81 kB / 1.384 GB, free: 9.355 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.4023, allocations: 148.7 kB / 1.384 GB, free: 9.184 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.4026, allocations: 169 kB / 1.384 GB, free: 9.012 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4026, allocations: 0 / 1.384 GB, free: 9.012 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005312/0.4032, allocations: 253.2 kB / 1.384 GB, free: 8.758 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4032, allocations: 8 kB / 1.384 GB, free: 8.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4032, allocations: 0 / 1.384 GB, free: 8.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.4032, allocations: 7.875 kB / 1.384 GB, free: 8.742 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.4034, allocations: 47.97 kB / 1.384 GB, free: 8.695 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.4034, allocations: 4 kB / 1.384 GB, free: 8.691 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.4038, allocations: 39.75 kB / 1.384 GB, free: 8.652 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.4038, allocations: 12 kB / 1.384 GB, free: 8.641 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000292/0.4041, allocations: 192.1 kB / 1.384 GB, free: 8.449 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002579/0.4043, allocations: 170.9 kB / 1.385 GB, free: 8.25 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003313/0.4047, allocations: 174.2 kB / 1.385 GB, free: 8.066 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/0.4047, allocations: 4 kB / 1.385 GB, free: 8.062 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004906/0.4052, allocations: 249.1 kB / 1.385 GB, free: 7.812 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4052, allocations: 11.98 kB / 1.385 GB, free: 7.801 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-06/0.4052, allocations: 0 / 1.385 GB, free: 7.801 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-06/0.4052, allocations: 0 / 1.385 GB, free: 7.801 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.4054, allocations: 43.98 kB / 1.385 GB, free: 7.758 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4054, allocations: 7.984 kB / 1.385 GB, free: 7.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.4057, allocations: 35.92 kB / 1.385 GB, free: 7.715 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.4057, allocations: 8 kB / 1.385 GB, free: 7.707 MB / 1.076 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.0001405/0.4059, allocations: 200.1 kB / 1.385 GB, free: 7.504 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/0.4059, allocations: 43.91 kB / 1.385 GB, free: 7.461 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005828/0.4065, allocations: 261.1 kB / 1.386 GB, free: 7.199 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.4065, allocations: 4 kB / 1.386 GB, free: 7.195 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4065, allocations: 0 / 1.386 GB, free: 7.195 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4065, allocations: 0 / 1.386 GB, free: 7.195 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.4076, allocations: 0.6898 MB / 1.386 GB, free: 6.445 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4076, allocations: 3.938 kB / 1.386 GB, free: 6.441 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.4078, allocations: 27.98 kB / 1.386 GB, free: 6.414 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4078, allocations: 0 / 1.386 GB, free: 6.414 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.4078, allocations: 15.92 kB / 1.386 GB, free: 6.398 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.4078, allocations: 3.938 kB / 1.386 GB, free: 6.395 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.4078, allocations: 4 kB / 1.386 GB, free: 6.391 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.4083, allocations: 336.3 kB / 1.387 GB, free: 6.035 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.4084, allocations: 59.69 kB / 1.387 GB, free: 5.977 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.4085, allocations: 7.984 kB / 1.387 GB, free: 5.969 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.4087, allocations: 19.92 kB / 1.387 GB, free: 5.949 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.4087, allocations: 15.92 kB / 1.387 GB, free: 5.934 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.4087, allocations: 8 kB / 1.387 GB, free: 5.926 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003837/0.4091, allocations: 334.9 kB / 1.387 GB, free: 5.602 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4091, allocations: 0 / 1.387 GB, free: 5.602 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006778/0.4098, allocations: 203.6 kB / 1.387 GB, free: 5.402 MB / 1.076 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.001573/0.4114, allocations: 474.7 kB / 1.388 GB, free: 5.062 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006721/0.412, allocations: 257.5 kB / 1.388 GB, free: 4.812 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.412, allocations: 0 / 1.388 GB, free: 4.812 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.4122, allocations: 84.02 kB / 1.388 GB, free: 4.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009902/0.4132, allocations: 195.8 kB / 1.388 GB, free: 4.543 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.4145, allocations: 0.7592 MB / 1.389 GB, free: 3.734 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.415, allocations: 0.8269 MB / 1.39 GB, free: 2.879 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.4151, allocations: 39.44 kB / 1.39 GB, free: 2.84 MB / 1.076 GB Notification: Performance of SimCode: time 5.41e-07/0.4151, allocations: 0 / 1.39 GB, free: 2.84 MB / 1.076 GB Notification: Performance of Templates: time 0.01215/0.4272, allocations: 7.421 MB / 1.397 GB, free: 11.48 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.007515920005972]