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.001723/0.001723, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002099/0.002099, allocations: 221.2 kB / 23 MB, free: 4.91 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.247/3.247, allocations: 0.4892 GB / 0.7951 GB, free: 35.58 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.002111/0.002111, allocations: 71.17 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3687, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02118/0.3899, allocations: 16.34 MB / 1.342 GB, free: 1.445 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008019/0.3979, allocations: 4.676 MB / 1.347 GB, free: 12.75 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005507/0.3985, allocations: 23.81 kB / 1.347 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000925/0.3994, allocations: 262.3 kB / 1.347 GB, free: 12.47 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.4011, allocations: 0.6647 MB / 1.348 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.4031, allocations: 0.758 MB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.4044, allocations: 0.9858 MB / 1.349 GB, free: 10.06 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000467/0.4049, allocations: 269.6 kB / 1.35 GB, free: 9.789 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008567/0.4058, allocations: 494 kB / 1.35 GB, free: 9.305 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004501/0.4062, allocations: 310.6 kB / 1.35 GB, free: 9 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.872e-05/0.4063, allocations: 28 kB / 1.351 GB, free: 8.973 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.4075, allocations: 0.6161 MB / 1.351 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.4077, allocations: 131.5 kB / 1.351 GB, free: 8.227 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.4079, allocations: 202.9 kB / 1.351 GB, free: 8.027 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.4092, allocations: 0.8678 MB / 1.352 GB, free: 7.156 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4092, allocations: 3.938 kB / 1.352 GB, free: 7.152 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4092, allocations: 0 / 1.352 GB, free: 7.152 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.4092, allocations: 0 / 1.352 GB, free: 7.152 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.001398/0.4106, allocations: 0.8228 MB / 1.353 GB, free: 6.297 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.4107, allocations: 12.03 kB / 1.353 GB, free: 6.285 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.4108, allocations: 60.56 kB / 1.353 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007985/0.4116, allocations: 406.9 kB / 1.354 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.4117, allocations: 24.44 kB / 1.354 GB, free: 5.781 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.4117, allocations: 28 kB / 1.354 GB, free: 5.754 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/0.4123, allocations: 289.2 kB / 1.354 GB, free: 5.453 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4123, allocations: 0 / 1.354 GB, free: 5.453 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.4123, allocations: 12 kB / 1.354 GB, free: 5.441 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.4123, allocations: 4 kB / 1.354 GB, free: 5.438 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.4128, allocations: 193.8 kB / 1.354 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.4146, allocations: 1.167 MB / 1.355 GB, free: 4.031 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.415, allocations: 154.8 kB / 1.355 GB, free: 3.871 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.4152, allocations: 80.8 kB / 1.355 GB, free: 3.789 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.4165, allocations: 0.5311 MB / 1.356 GB, free: 3.238 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.4165, allocations: 34.56 kB / 1.356 GB, free: 3.195 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.4165, allocations: 0 / 1.356 GB, free: 3.195 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0006879/0.4172, allocations: 251.4 kB / 1.356 GB, free: 2.945 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.4173, allocations: 55.41 kB / 1.356 GB, free: 2.879 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007053/0.418, allocations: 0.5643 MB / 1.357 GB, free: 2.305 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.418, allocations: 33.7 kB / 1.357 GB, free: 2.266 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.4183, allocations: 272.3 kB / 1.357 GB, free: 1.996 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.4183, allocations: 51.58 kB / 1.357 GB, free: 1.945 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.4184, allocations: 73.94 kB / 1.357 GB, free: 1.863 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4186, allocations: 358.8 kB / 1.358 GB, free: 1.504 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.4188, allocations: 81.88 kB / 1.358 GB, free: 1.422 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.4193, allocations: 450 kB / 1.358 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/0.4197, allocations: 235.1 kB / 1.358 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.4197, allocations: 4 kB / 1.358 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006407/0.4204, allocations: 306.9 kB / 1.359 GB, free: 316 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.4204, allocations: 8 kB / 1.359 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4204, allocations: 3.938 kB / 1.359 GB, free: 304 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.4204, allocations: 4 kB / 1.359 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.4207, allocations: 63.91 kB / 1.359 GB, free: 236 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.4207, allocations: 7.938 kB / 1.359 GB, free: 228 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.421, allocations: 39.81 kB / 1.359 GB, free: 188 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.4211, allocations: 16 kB / 1.359 GB, free: 172 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000359/0.4214, allocations: 216.7 kB / 1.359 GB, free: 15.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004552/0.4219, allocations: 441.8 kB / 1.359 GB, free: 15.42 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000446/0.4223, allocations: 242.8 kB / 1.36 GB, free: 15.15 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.4223, allocations: 0 / 1.36 GB, free: 15.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006094/0.4229, allocations: 297 kB / 1.36 GB, free: 14.85 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.4229, allocations: 8 kB / 1.36 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4229, allocations: 4.234 kB / 1.36 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.423, allocations: 11.94 kB / 1.36 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.4232, allocations: 63.91 kB / 1.36 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4232, allocations: 4 kB / 1.36 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.4235, allocations: 39.86 kB / 1.36 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.4236, allocations: 16 kB / 1.36 GB, free: 14.71 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.0001459/0.4237, allocations: 200.1 kB / 1.36 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.518e-05/0.4238, allocations: 47.67 kB / 1.36 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006033/0.4244, allocations: 267.2 kB / 1.361 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.4244, allocations: 4 kB / 1.361 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4244, allocations: 0 / 1.361 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4244, allocations: 4.125 kB / 1.361 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.4255, allocations: 0.6378 MB / 1.361 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4255, allocations: 8.062 kB / 1.361 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.4256, allocations: 31.97 kB / 1.361 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4256, allocations: 0 / 1.361 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.4256, allocations: 8 kB / 1.361 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.4257, allocations: 7.938 kB / 1.361 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4257, allocations: 0 / 1.361 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/0.4262, allocations: 354.4 kB / 1.362 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.4264, allocations: 75.61 kB / 1.362 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/0.4264, allocations: 8 kB / 1.362 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.4266, allocations: 11.98 kB / 1.362 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.4267, allocations: 15.92 kB / 1.362 GB, free: 12.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.4267, allocations: 8 kB / 1.362 GB, free: 12.95 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004859/0.4272, allocations: 402.8 kB / 1.362 GB, free: 12.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4272, allocations: 0 / 1.362 GB, free: 12.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007636/0.428, allocations: 239.5 kB / 1.362 GB, free: 12.32 MB / 1.061 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.001702/0.4297, allocations: 0.4995 MB / 1.363 GB, free: 11.97 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007488/0.4304, allocations: 309.5 kB / 1.363 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4304, allocations: 0 / 1.363 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.4306, allocations: 87.83 kB / 1.363 GB, free: 11.58 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.4317, allocations: 225 kB / 1.363 GB, free: 11.37 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.4332, allocations: 0.8597 MB / 1.364 GB, free: 10.46 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.4334, allocations: 242.1 kB / 1.364 GB, free: 10.2 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.382e-05/0.4335, allocations: 35.44 kB / 1.364 GB, free: 10.16 MB / 1.061 GB Notification: Performance of SimCode: time 4.4e-07/0.4335, allocations: 0 / 1.364 GB, free: 10.16 MB / 1.061 GB Notification: Performance of Templates: time 0.01387/0.4474, allocations: 8.516 MB / 1.373 GB, free: 1.707 MB / 1.061 GB " [Timeout remaining time 300] 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: 13.002766699064523]