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.002021/0.002021, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001939/0.001939, allocations: 220.1 kB / 22.26 MB, free: 5.125 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 8 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.437/3.437, allocations: 0.49 GB / 0.7951 GB, free: 33.45 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.002256/0.002256, allocations: 65.28 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4585, allocations: 176.1 MB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02135/0.4798, allocations: 15.88 MB / 1.342 GB, free: 1.543 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008974/0.4888, allocations: 4.467 MB / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009487/0.4898, allocations: 27.75 kB / 1.346 GB, free: 13.04 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.4912, allocations: 270.3 kB / 1.346 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.4938, allocations: 0.6751 MB / 1.347 GB, free: 12.1 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.4964, allocations: 0.7258 MB / 1.348 GB, free: 11.38 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001942/0.4983, allocations: 1.044 MB / 1.349 GB, free: 10.33 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005612/0.4989, allocations: 280.4 kB / 1.349 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.5, allocations: 498.1 kB / 1.35 GB, free: 9.555 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005302/0.5005, allocations: 322.5 kB / 1.35 GB, free: 9.238 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.873e-05/0.5005, allocations: 24 kB / 1.35 GB, free: 9.215 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.502, allocations: 0.6551 MB / 1.351 GB, free: 8.559 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.5022, allocations: 115.5 kB / 1.351 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.5024, allocations: 218.8 kB / 1.351 GB, free: 8.23 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.5039, allocations: 0.7744 MB / 1.352 GB, free: 7.453 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.5039, allocations: 0 / 1.352 GB, free: 7.453 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5039, allocations: 0 / 1.352 GB, free: 7.453 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.5039, allocations: 0 / 1.352 GB, free: 7.453 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.001488/0.5054, allocations: 0.7685 MB / 1.352 GB, free: 6.648 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.5055, allocations: 12.03 kB / 1.352 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.5056, allocations: 52.61 kB / 1.352 GB, free: 6.586 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008187/0.5064, allocations: 374.7 kB / 1.353 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.5065, allocations: 20.44 kB / 1.353 GB, free: 6.176 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/0.5065, allocations: 28 kB / 1.353 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004947/0.507, allocations: 215.2 kB / 1.353 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.507, allocations: 4 kB / 1.353 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.5071, allocations: 8 kB / 1.353 GB, free: 5.918 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.5071, allocations: 4 kB / 1.353 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.5075, allocations: 161.6 kB / 1.353 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.5092, allocations: 0.9112 MB / 1.354 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.5095, allocations: 134.5 kB / 1.354 GB, free: 4.633 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.5097, allocations: 64.81 kB / 1.354 GB, free: 4.566 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.5099, allocations: 31.97 kB / 1.354 GB, free: 4.535 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.5099, allocations: 34.56 kB / 1.354 GB, free: 4.492 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.704e-06/0.5099, allocations: 0 / 1.354 GB, free: 4.492 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.000662/0.5106, allocations: 238.8 kB / 1.355 GB, free: 4.254 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.5106, allocations: 51.41 kB / 1.355 GB, free: 4.191 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005971/0.5112, allocations: 478 kB / 1.355 GB, free: 3.715 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.5113, allocations: 25.7 kB / 1.355 GB, free: 3.684 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.5115, allocations: 232.7 kB / 1.355 GB, free: 3.453 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.5115, allocations: 59.59 kB / 1.355 GB, free: 3.395 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.864e-05/0.5116, allocations: 57.64 kB / 1.355 GB, free: 3.332 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.5118, allocations: 362.7 kB / 1.356 GB, free: 2.969 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.512, allocations: 72.75 kB / 1.356 GB, free: 2.895 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.5123, allocations: 153.3 kB / 1.356 GB, free: 2.719 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.5126, allocations: 168.3 kB / 1.356 GB, free: 2.547 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5126, allocations: 0 / 1.356 GB, free: 2.547 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005311/0.5132, allocations: 263.2 kB / 1.356 GB, free: 2.285 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.5132, allocations: 4 kB / 1.356 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5132, allocations: 0 / 1.356 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.5132, allocations: 4 kB / 1.356 GB, free: 2.277 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.5134, allocations: 47.91 kB / 1.357 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.5135, allocations: 8.078 kB / 1.357 GB, free: 2.223 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.5138, allocations: 43.69 kB / 1.357 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.5138, allocations: 12 kB / 1.357 GB, free: 2.168 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000313/0.5141, allocations: 193.2 kB / 1.357 GB, free: 1.977 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000266/0.5144, allocations: 163 kB / 1.357 GB, free: 1.785 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003436/0.5147, allocations: 181 kB / 1.357 GB, free: 1.594 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.5147, allocations: 0 / 1.357 GB, free: 1.594 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005317/0.5152, allocations: 248.3 kB / 1.357 GB, free: 1.348 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.5153, allocations: 11.98 kB / 1.357 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/0.5153, allocations: 0 / 1.357 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.5153, allocations: 4 kB / 1.357 GB, free: 1.332 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.5155, allocations: 47.91 kB / 1.357 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.5155, allocations: 4 kB / 1.357 GB, free: 1.281 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.5158, allocations: 32.03 kB / 1.357 GB, free: 1.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.5158, allocations: 8 kB / 1.357 GB, free: 1.242 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.0001583/0.516, allocations: 200.1 kB / 1.358 GB, free: 1.039 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.516, allocations: 47.67 kB / 1.358 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006048/0.5166, allocations: 249.2 kB / 1.358 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.5167, allocations: 4 kB / 1.358 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5167, allocations: 192 / 1.358 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.5167, allocations: 0 / 1.358 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.5178, allocations: 0.6918 MB / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5178, allocations: 0 / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.518, allocations: 35.86 kB / 1.359 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.518, allocations: 0 / 1.359 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.518, allocations: 4 kB / 1.359 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-05/0.518, allocations: 7.938 kB / 1.359 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.518, allocations: 0 / 1.359 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.5185, allocations: 351.8 kB / 1.359 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.5186, allocations: 59.69 kB / 1.359 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.5187, allocations: 3.984 kB / 1.359 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.5189, allocations: 19.92 kB / 1.359 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.5189, allocations: 11.98 kB / 1.359 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.519, allocations: 8 kB / 1.359 GB, free: 15.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003833/0.5193, allocations: 334.9 kB / 1.359 GB, free: 15.14 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.5193, allocations: 0 / 1.359 GB, free: 15.14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007124/0.5201, allocations: 203.6 kB / 1.36 GB, free: 14.94 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.001659/0.5217, allocations: 478.5 kB / 1.36 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000706/0.5224, allocations: 255.7 kB / 1.36 GB, free: 14.35 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5224, allocations: 3.938 kB / 1.36 GB, free: 14.35 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.5227, allocations: 91.89 kB / 1.36 GB, free: 14.26 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.5237, allocations: 190.2 kB / 1.361 GB, free: 14.08 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.5253, allocations: 0.7127 MB / 1.361 GB, free: 13.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.5258, allocations: 0.8347 MB / 1.362 GB, free: 12.46 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002769/0.5261, allocations: 87.55 kB / 1.362 GB, free: 12.37 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.5262, allocations: 43.42 kB / 1.362 GB, free: 12.33 MB / 1.061 GB Notification: Performance of SimCode: time 4.4e-07/0.5262, allocations: 0 / 1.362 GB, free: 12.33 MB / 1.061 GB Notification: Performance of Templates: time 0.01983/0.546, allocations: 8.661 MB / 1.371 GB, free: 3.797 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins/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: 10.576825372874737]