Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001913/0.001913, allocations: 110.2 kB / 19.69 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.00234/0.00234, allocations: 214.8 kB / 23.01 MB, free: 4.566 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.234/3.234, allocations: 0.49 GB / 0.7958 GB, free: 33.52 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_12_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_12_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.002087/0.002087, allocations: 75.08 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3449, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01899/0.3639, allocations: 15.89 MB / 1.343 GB, free: 1.516 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00709/0.371, allocations: 4.459 MB / 1.347 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005346/0.3716, allocations: 27.75 kB / 1.347 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009497/0.3725, allocations: 270.3 kB / 1.347 GB, free: 12.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.3742, allocations: 0.6764 MB / 1.348 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.3761, allocations: 0.7385 MB / 1.349 GB, free: 11.34 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001383/0.3774, allocations: 1.044 MB / 1.35 GB, free: 10.29 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004688/0.3779, allocations: 273.4 kB / 1.35 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008516/0.3788, allocations: 498.1 kB / 1.35 GB, free: 9.527 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000482/0.3793, allocations: 330.5 kB / 1.351 GB, free: 9.203 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.439e-05/0.3793, allocations: 24 kB / 1.351 GB, free: 9.18 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.3805, allocations: 0.6551 MB / 1.351 GB, free: 8.523 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.3806, allocations: 103.6 kB / 1.351 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.3808, allocations: 226.7 kB / 1.352 GB, free: 8.199 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.382, allocations: 0.7705 MB / 1.352 GB, free: 7.426 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.382, allocations: 0 / 1.352 GB, free: 7.426 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3821, allocations: 0 / 1.352 GB, free: 7.426 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.3821, allocations: 0 / 1.352 GB, free: 7.426 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001495/0.3836, allocations: 0.7685 MB / 1.353 GB, free: 6.621 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.3836, allocations: 16.02 kB / 1.353 GB, free: 6.605 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.3837, allocations: 52.61 kB / 1.353 GB, free: 6.555 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007857/0.3845, allocations: 374.7 kB / 1.354 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.3845, allocations: 20.44 kB / 1.354 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.3846, allocations: 28 kB / 1.354 GB, free: 6.117 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.385, allocations: 219.2 kB / 1.354 GB, free: 5.895 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3851, allocations: 4 kB / 1.354 GB, free: 5.891 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.3851, allocations: 4 kB / 1.354 GB, free: 5.887 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3851, allocations: 4 kB / 1.354 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.3855, allocations: 161.6 kB / 1.354 GB, free: 5.727 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.3871, allocations: 0.9112 MB / 1.355 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.3874, allocations: 130.6 kB / 1.355 GB, free: 4.605 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.3876, allocations: 68.75 kB / 1.355 GB, free: 4.535 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.3878, allocations: 31.97 kB / 1.355 GB, free: 4.504 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.3878, allocations: 34.56 kB / 1.355 GB, free: 4.461 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.3878, allocations: 0 / 1.355 GB, free: 4.461 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.0006384/0.3884, allocations: 240.3 kB / 1.355 GB, free: 4.223 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.3885, allocations: 51.41 kB / 1.355 GB, free: 4.16 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005667/0.389, allocations: 478 kB / 1.356 GB, free: 3.684 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.3891, allocations: 29.7 kB / 1.356 GB, free: 3.648 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.3893, allocations: 228.7 kB / 1.356 GB, free: 3.422 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.3893, allocations: 59.58 kB / 1.356 GB, free: 3.363 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/0.3894, allocations: 53.7 kB / 1.356 GB, free: 3.305 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.3896, allocations: 362.7 kB / 1.357 GB, free: 2.941 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.3898, allocations: 76.81 kB / 1.357 GB, free: 2.863 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.39, allocations: 149.4 kB / 1.357 GB, free: 2.691 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.3904, allocations: 175.7 kB / 1.357 GB, free: 2.512 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3904, allocations: 0 / 1.357 GB, free: 2.512 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005367/0.391, allocations: 261.1 kB / 1.357 GB, free: 2.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.391, allocations: 5.562 kB / 1.357 GB, free: 2.246 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.391, allocations: 0 / 1.357 GB, free: 2.246 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.391, allocations: 4 kB / 1.357 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.3912, allocations: 47.91 kB / 1.357 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.3913, allocations: 4 kB / 1.357 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.3916, allocations: 35.81 kB / 1.357 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.3916, allocations: 12 kB / 1.357 GB, free: 2.145 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003035/0.3919, allocations: 188.1 kB / 1.358 GB, free: 1.957 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002662/0.3922, allocations: 163.6 kB / 1.358 GB, free: 1.766 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003514/0.3925, allocations: 176.1 kB / 1.358 GB, free: 1.578 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.3925, allocations: 4 kB / 1.358 GB, free: 1.574 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005206/0.393, allocations: 245.2 kB / 1.358 GB, free: 1.328 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.393, allocations: 8 kB / 1.358 GB, free: 1.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.393, allocations: 0 / 1.358 GB, free: 1.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.393, allocations: 4 kB / 1.358 GB, free: 1.316 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.3933, allocations: 47.91 kB / 1.358 GB, free: 1.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.3933, allocations: 4 kB / 1.358 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.3936, allocations: 35.97 kB / 1.358 GB, free: 1.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.3936, allocations: 15.98 kB / 1.358 GB, free: 1.215 MB / 1.045 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.0001383/0.3938, allocations: 200.1 kB / 1.358 GB, free: 1.012 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.3938, allocations: 47.67 kB / 1.358 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005736/0.3944, allocations: 249.2 kB / 1.359 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.3944, allocations: 4 kB / 1.359 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3944, allocations: 0 / 1.359 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3944, allocations: 0 / 1.359 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.3955, allocations: 0.6913 MB / 1.359 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3955, allocations: 0 / 1.359 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.3957, allocations: 31.92 kB / 1.359 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3957, allocations: 0 / 1.359 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.3957, allocations: 7.984 kB / 1.359 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.3957, allocations: 7.938 kB / 1.359 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.3957, allocations: 3.984 kB / 1.359 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005149/0.3962, allocations: 352.7 kB / 1.36 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.3963, allocations: 63.67 kB / 1.36 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.3964, allocations: 0 / 1.36 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.3966, allocations: 23.91 kB / 1.36 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.3966, allocations: 11.98 kB / 1.36 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.3967, allocations: 12.19 kB / 1.36 GB, free: 15.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003872/0.3971, allocations: 330.9 kB / 1.36 GB, free: 15.11 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3971, allocations: 3.938 kB / 1.36 GB, free: 15.11 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006831/0.3977, allocations: 203.6 kB / 1.36 GB, free: 14.91 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 (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.001604/0.3993, allocations: 462 kB / 1.361 GB, free: 14.58 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006811/0.4, allocations: 261.4 kB / 1.361 GB, free: 14.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4, allocations: 0 / 1.361 GB, free: 14.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.4002, allocations: 87.95 kB / 1.361 GB, free: 14.24 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.4012, allocations: 194 kB / 1.361 GB, free: 14.05 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.4028, allocations: 0.7527 MB / 1.362 GB, free: 13.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.4033, allocations: 0.8269 MB / 1.363 GB, free: 12.4 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.4034, allocations: 39.42 kB / 1.363 GB, free: 12.36 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4034, allocations: 0 / 1.363 GB, free: 12.36 MB / 1.061 GB Notification: Performance of Templates: time 0.0124/0.4158, allocations: 7.413 MB / 1.37 GB, free: 5.004 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.140657376003219]