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.001374/0.001374, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001519/0.001519, allocations: 221.1 kB / 23 MB, free: 4.918 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.479/1.479, 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.365/3.365, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 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.002225/0.002225, allocations: 70.08 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3903, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01863/0.4089, allocations: 14.51 MB / 1.379 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007415/0.4163, allocations: 4.111 MB / 1.383 GB, free: 10.93 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007313/0.417, allocations: 23.75 kB / 1.383 GB, free: 10.91 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.4181, allocations: 258.3 kB / 1.383 GB, free: 10.66 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002043/0.4202, allocations: 0.6764 MB / 1.384 GB, free: 9.977 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.4223, allocations: 0.7099 MB / 1.384 GB, free: 9.273 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001666/0.424, allocations: 1.035 MB / 1.385 GB, free: 8.238 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005403/0.4245, allocations: 276.4 kB / 1.386 GB, free: 7.957 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009863/0.4255, allocations: 498 kB / 1.386 GB, free: 7.469 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004918/0.426, allocations: 314.5 kB / 1.386 GB, free: 7.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.678e-05/0.426, allocations: 28 kB / 1.386 GB, free: 7.133 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.4272, allocations: 0.5303 MB / 1.387 GB, free: 6.602 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.4274, allocations: 115.5 kB / 1.387 GB, free: 6.488 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.4276, allocations: 179.1 kB / 1.387 GB, free: 6.312 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.4288, allocations: 0.751 MB / 1.388 GB, free: 5.559 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4288, allocations: 0 / 1.388 GB, free: 5.559 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4288, allocations: 4 kB / 1.388 GB, free: 5.555 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.4288, allocations: 0 / 1.388 GB, free: 5.555 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.001414/0.4302, allocations: 0.7685 MB / 1.389 GB, free: 4.754 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4303, allocations: 8.031 kB / 1.389 GB, free: 4.746 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.4304, allocations: 56.61 kB / 1.389 GB, free: 4.691 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007889/0.4312, allocations: 382.5 kB / 1.389 GB, free: 4.297 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.4312, allocations: 24.44 kB / 1.389 GB, free: 4.273 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.4313, allocations: 28 kB / 1.389 GB, free: 4.246 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004678/0.4317, allocations: 207.2 kB / 1.389 GB, free: 4.039 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4318, allocations: 0 / 1.389 GB, free: 4.039 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.4318, allocations: 12 kB / 1.389 GB, free: 4.027 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4318, allocations: 4 kB / 1.389 GB, free: 4.023 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.4322, allocations: 161.6 kB / 1.39 GB, free: 3.863 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.4338, allocations: 0.7061 MB / 1.39 GB, free: 3.121 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.4341, allocations: 126.5 kB / 1.39 GB, free: 2.988 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.4343, allocations: 68.81 kB / 1.39 GB, free: 2.918 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.4344, allocations: 27.98 kB / 1.391 GB, free: 2.891 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.4345, allocations: 34.56 kB / 1.391 GB, free: 2.848 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.4345, allocations: 3.938 kB / 1.391 GB, free: 2.844 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.0006837/0.4352, allocations: 249.2 kB / 1.391 GB, free: 2.594 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.4352, allocations: 51.41 kB / 1.391 GB, free: 2.531 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.4358, allocations: 441.9 kB / 1.391 GB, free: 2.094 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.4358, allocations: 29.7 kB / 1.391 GB, free: 2.059 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.436, allocations: 232.6 kB / 1.392 GB, free: 1.828 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.4361, allocations: 47.58 kB / 1.392 GB, free: 1.781 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.4362, allocations: 61.64 kB / 1.392 GB, free: 1.715 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.4363, allocations: 354.8 kB / 1.392 GB, free: 1.359 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.4366, allocations: 76.67 kB / 1.392 GB, free: 1.281 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/0.437, allocations: 418.9 kB / 1.392 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.4374, allocations: 170.4 kB / 1.393 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4374, allocations: 0 / 1.393 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005646/0.438, allocations: 248.3 kB / 1.393 GB, free: 372 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.438, allocations: 8 kB / 1.393 GB, free: 364 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.438, allocations: 0 / 1.393 GB, free: 364 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.438, allocations: 0 / 1.393 GB, free: 364 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.4383, allocations: 55.91 kB / 1.393 GB, free: 308 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.4383, allocations: 7.969 kB / 1.393 GB, free: 300 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.4386, allocations: 35.81 kB / 1.393 GB, free: 264 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.4386, allocations: 7.984 kB / 1.393 GB, free: 256 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000314/0.439, allocations: 192.1 kB / 1.393 GB, free: 60 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000438/0.4394, allocations: 414.5 kB / 1.394 GB, free: 15.55 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003681/0.4398, allocations: 172.1 kB / 1.394 GB, free: 15.37 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.4398, allocations: 0 / 1.394 GB, free: 15.37 MB / 1.092 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005556/0.4403, allocations: 251.8 kB / 1.394 GB, free: 15.12 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.4403, allocations: 8 kB / 1.394 GB, free: 15.11 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.4403, allocations: 0 / 1.394 GB, free: 15.11 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.629e-06/0.4403, allocations: 0 / 1.394 GB, free: 15.11 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.4406, allocations: 51.97 kB / 1.394 GB, free: 15.06 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4406, allocations: 4 kB / 1.394 GB, free: 15.06 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.4409, allocations: 31.92 kB / 1.394 GB, free: 15.03 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.4409, allocations: 11.98 kB / 1.394 GB, free: 15.02 MB / 1.092 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.0001562/0.4411, allocations: 200.1 kB / 1.394 GB, free: 14.81 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.806e-05/0.4411, allocations: 39.72 kB / 1.394 GB, free: 14.77 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006041/0.4418, allocations: 245 kB / 1.394 GB, free: 14.52 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.4418, allocations: 4 kB / 1.394 GB, free: 14.52 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4418, allocations: 3.984 kB / 1.394 GB, free: 14.52 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4418, allocations: 3.938 kB / 1.395 GB, free: 14.51 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.4429, allocations: 0.6068 MB / 1.395 GB, free: 13.86 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4429, allocations: 192 / 1.395 GB, free: 13.86 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.443, allocations: 40.03 kB / 1.395 GB, free: 13.82 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.443, allocations: 0 / 1.395 GB, free: 13.82 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.443, allocations: 15.92 kB / 1.395 GB, free: 13.8 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.443, allocations: 4 kB / 1.395 GB, free: 13.8 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.443, allocations: 7.938 kB / 1.395 GB, free: 13.79 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.4436, allocations: 346.5 kB / 1.395 GB, free: 13.42 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.4437, allocations: 63.53 kB / 1.396 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.4437, allocations: 0 / 1.396 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.444, allocations: 19.98 kB / 1.396 GB, free: 13.34 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.444, allocations: 15.92 kB / 1.396 GB, free: 13.33 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.444, allocations: 11.98 kB / 1.396 GB, free: 13.32 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003748/0.4444, allocations: 303.1 kB / 1.396 GB, free: 13.02 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.4444, allocations: 0 / 1.396 GB, free: 13.02 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007287/0.4451, allocations: 207.5 kB / 1.396 GB, free: 12.82 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 (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.001751/0.4469, allocations: 487.2 kB / 1.397 GB, free: 12.49 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0007415/0.4476, allocations: 259.7 kB / 1.397 GB, free: 12.23 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4476, allocations: 0 / 1.397 GB, free: 12.23 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.4478, allocations: 84.14 kB / 1.397 GB, free: 12.15 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009605/0.4488, allocations: 171.3 kB / 1.397 GB, free: 11.99 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.4502, allocations: 0.754 MB / 1.398 GB, free: 11.19 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.4504, allocations: 227.7 kB / 1.398 GB, free: 10.95 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.535e-05/0.4505, allocations: 35.42 kB / 1.398 GB, free: 10.91 MB / 1.092 GB Notification: Performance of SimCode: time 6.62e-07/0.4505, allocations: 3.938 kB / 1.398 GB, free: 10.91 MB / 1.092 GB Notification: Performance of Templates: time 0.01199/0.4625, allocations: 7.241 MB / 1.405 GB, free: 3.719 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.02721901377663]