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.001462/0.001462, allocations: 104.1 kB / 16.45 MB, free: 6.449 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.001607/0.001607, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.556/1.556, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.372/3.372, allocations: 0.4899 GB / 0.7915 GB, free: 33.26 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.002154/0.002154, allocations: 74.28 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4204, allocations: 176.1 MB / 1.321 GB, free: 2.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02278/0.4432, allocations: 17.73 MB / 1.339 GB, free: 1.176 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008689/0.4519, allocations: 5.038 MB / 1.343 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005669/0.4524, allocations: 23.75 kB / 1.343 GB, free: 12.1 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009237/0.4534, allocations: 262.4 kB / 1.344 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.4552, allocations: 0.6776 MB / 1.344 GB, free: 11.16 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.4572, allocations: 0.7263 MB / 1.345 GB, free: 10.45 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.4587, allocations: 0.9741 MB / 1.346 GB, free: 9.465 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005364/0.4592, allocations: 289 kB / 1.346 GB, free: 9.172 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008294/0.4601, allocations: 482.1 kB / 1.347 GB, free: 8.699 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004392/0.4605, allocations: 318.6 kB / 1.347 GB, free: 8.387 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.797e-05/0.4606, allocations: 28 kB / 1.347 GB, free: 8.359 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.462, allocations: 0.7486 MB / 1.348 GB, free: 7.609 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.4622, allocations: 135.5 kB / 1.348 GB, free: 7.477 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.4624, allocations: 242.6 kB / 1.348 GB, free: 7.238 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.4639, allocations: 0.8912 MB / 1.349 GB, free: 6.344 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4639, allocations: 0 / 1.349 GB, free: 6.344 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4639, allocations: 4 kB / 1.349 GB, free: 6.34 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.4639, allocations: 3.938 kB / 1.349 GB, free: 6.336 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.001496/0.4654, allocations: 0.8904 MB / 1.35 GB, free: 5.395 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.4654, allocations: 11.98 kB / 1.35 GB, free: 5.383 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.4656, allocations: 64.56 kB / 1.35 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008451/0.4665, allocations: 478 kB / 1.35 GB, free: 4.816 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.4665, allocations: 24.5 kB / 1.351 GB, free: 4.793 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.4666, allocations: 28 kB / 1.351 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006032/0.4672, allocations: 294.2 kB / 1.351 GB, free: 4.457 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4672, allocations: 0 / 1.351 GB, free: 4.457 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.4672, allocations: 11.98 kB / 1.351 GB, free: 4.445 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.4672, allocations: 8 kB / 1.351 GB, free: 4.438 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.4677, allocations: 186.1 kB / 1.351 GB, free: 4.254 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.4699, allocations: 1.48 MB / 1.352 GB, free: 2.668 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.4702, allocations: 146.8 kB / 1.353 GB, free: 2.516 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.4704, allocations: 84.8 kB / 1.353 GB, free: 2.43 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001835/0.4723, allocations: 1.264 MB / 1.354 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.4723, allocations: 42.5 kB / 1.354 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.4723, allocations: 0 / 1.354 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0006874/0.473, allocations: 252.7 kB / 1.354 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.4731, allocations: 55.41 kB / 1.354 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007622/0.4738, allocations: 0.5887 MB / 1.355 GB, free: 8 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.457e-05/0.4739, allocations: 33.7 kB / 1.355 GB, free: 15.97 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.4741, allocations: 276.4 kB / 1.355 GB, free: 15.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.4742, allocations: 55.53 kB / 1.355 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.4743, allocations: 73.92 kB / 1.355 GB, free: 15.56 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002368/0.4746, allocations: 358.8 kB / 1.356 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.4748, allocations: 77.94 kB / 1.356 GB, free: 15.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.4751, allocations: 214.7 kB / 1.356 GB, free: 14.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.4756, allocations: 238.9 kB / 1.356 GB, free: 14.6 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4756, allocations: 0 / 1.356 GB, free: 14.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006734/0.4763, allocations: 313 kB / 1.356 GB, free: 14.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.4763, allocations: 11.94 kB / 1.356 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.4763, allocations: 4 kB / 1.356 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.4764, allocations: 4.25 kB / 1.356 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.4766, allocations: 63.91 kB / 1.356 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.4766, allocations: 4 kB / 1.356 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.4769, allocations: 43.75 kB / 1.357 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.477, allocations: 16 kB / 1.357 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003668/0.4774, allocations: 216.6 kB / 1.357 GB, free: 13.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003333/0.4777, allocations: 211 kB / 1.357 GB, free: 13.67 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004505/0.4781, allocations: 232.9 kB / 1.357 GB, free: 13.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.4781, allocations: 0 / 1.357 GB, free: 13.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006186/0.4788, allocations: 320.9 kB / 1.357 GB, free: 13.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.846e-06/0.4788, allocations: 4 kB / 1.357 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4788, allocations: 7.938 kB / 1.357 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-06/0.4788, allocations: 4.25 kB / 1.357 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.479, allocations: 67.91 kB / 1.358 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.479, allocations: 4 kB / 1.358 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.4793, allocations: 35.86 kB / 1.358 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.4794, allocations: 12 kB / 1.358 GB, free: 12.96 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.0001468/0.4795, allocations: 204.1 kB / 1.358 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-05/0.4796, allocations: 55.61 kB / 1.358 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005907/0.4802, allocations: 262.1 kB / 1.358 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.4802, allocations: 4.188 kB / 1.358 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4802, allocations: 0 / 1.358 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4802, allocations: 3.984 kB / 1.358 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.4814, allocations: 0.7395 MB / 1.359 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4814, allocations: 0 / 1.359 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.4815, allocations: 35.91 kB / 1.359 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4815, allocations: 4 kB / 1.359 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.4815, allocations: 0 / 1.359 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4816, allocations: 4 kB / 1.359 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4816, allocations: 0 / 1.359 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.4821, allocations: 366.5 kB / 1.359 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.4823, allocations: 148.7 kB / 1.359 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.662e-05/0.4823, allocations: 8 kB / 1.359 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.4825, allocations: 11.98 kB / 1.359 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.4826, allocations: 19.92 kB / 1.359 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.4826, allocations: 4 kB / 1.359 GB, free: 10.99 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005283/0.4831, allocations: 426.8 kB / 1.36 GB, free: 10.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4831, allocations: 0 / 1.36 GB, free: 10.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007906/0.4839, allocations: 231.6 kB / 1.36 GB, free: 10.35 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.001641/0.4856, allocations: 493.2 kB / 1.361 GB, free: 9.984 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007896/0.4864, allocations: 303.4 kB / 1.361 GB, free: 9.691 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4864, allocations: 4 kB / 1.361 GB, free: 9.688 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.4866, allocations: 75.89 kB / 1.361 GB, free: 9.613 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.4878, allocations: 257 kB / 1.361 GB, free: 9.367 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.4893, allocations: 0.824 MB / 1.362 GB, free: 8.496 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.4898, allocations: 0.8429 MB / 1.363 GB, free: 7.625 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003047/0.4901, allocations: 104.6 kB / 1.363 GB, free: 7.523 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.173e-05/0.4902, allocations: 47.42 kB / 1.363 GB, free: 7.477 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4902, allocations: 0 / 1.363 GB, free: 7.477 MB / 1.061 GB Notification: Performance of Templates: time 0.01935/0.5096, allocations: 10.33 MB / 1.373 GB, free: 13.29 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/jenkins/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: 9.953220920171589]