Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001011/0.001011, allocations: 72.89 kB / 19.94 MB, free: 4.391 MB / 18.57 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.001013/0.001013, allocations: 173 kB / 23.36 MB, free: 0.9727 MB / 18.57 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 0.9731/0.9731, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 2.331/2.331, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0.7656 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.89e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.006404/0.006423, allocations: 7.565 MB / 0.846 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.009747, allocations: 3.153 MB / 0.8491 GB, free: 3.43 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.01001, allocations: 19.81 kB / 0.8491 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.01051, allocations: 194.7 kB / 0.8493 GB, free: 3.219 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0006743/0.01118, allocations: 497 kB / 0.8498 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.01225, allocations: 0.7282 MB / 0.8505 GB, free: 2 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007899/0.01304, allocations: 0.9544 MB / 0.8514 GB, free: 1.043 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003009/0.01334, allocations: 289.5 kB / 0.8517 GB, free: 0.7539 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004141/0.01375, allocations: 462.8 kB / 0.8521 GB, free: 308 kB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.01401, allocations: 263.2 kB / 0.8524 GB, free: 44 kB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.01405, allocations: 28 kB / 0.8524 GB, free: 16 kB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006417/0.01469, allocations: 0.5379 MB / 0.8529 GB, free: 15.48 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.952e-05/0.01479, allocations: 143.5 kB / 0.8531 GB, free: 15.34 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.01492, allocations: 155.5 kB / 0.8532 GB, free: 15.18 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006948/0.01561, allocations: 0.689 MB / 0.8539 GB, free: 14.49 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01562, allocations: 0 / 0.8539 GB, free: 14.49 MB / 0.823 GB Notification: Performance of FrontEnd: time 5.71e-07/0.01562, allocations: 0 / 0.8539 GB, free: 14.49 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.01562, allocations: 0 / 0.8539 GB, free: 14.49 MB / 0.823 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.0007318/0.01635, allocations: 0.7666 MB / 0.8546 GB, free: 13.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.01638, allocations: 8.625 kB / 0.8546 GB, free: 13.69 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.01649, allocations: 64.81 kB / 0.8547 GB, free: 13.63 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.01686, allocations: 370.4 kB / 0.8551 GB, free: 13.24 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.01688, allocations: 24.88 kB / 0.8551 GB, free: 13.21 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.0169, allocations: 28.38 kB / 0.8551 GB, free: 13.19 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.01712, allocations: 228.8 kB / 0.8553 GB, free: 12.94 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.01713, allocations: 3.938 kB / 0.8553 GB, free: 12.93 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.01714, allocations: 19.94 kB / 0.8554 GB, free: 12.91 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.01715, allocations: 7.984 kB / 0.8554 GB, free: 12.91 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.493e-05/0.01723, allocations: 66.23 kB / 0.8554 GB, free: 12.84 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009495/0.01818, allocations: 0.92 MB / 0.8563 GB, free: 11.88 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.01831, allocations: 137.1 kB / 0.8565 GB, free: 11.73 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.01835, allocations: 31.67 kB / 0.8565 GB, free: 11.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000541/0.01889, allocations: 482.1 kB / 0.8569 GB, free: 11.21 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.01891, allocations: 38.56 kB / 0.857 GB, free: 11.17 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.01891, allocations: 0 / 0.857 GB, free: 11.17 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0001724/0.01908, allocations: 153.5 kB / 0.8571 GB, free: 11.01 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.0191, allocations: 51.41 kB / 0.8572 GB, free: 10.95 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.01939, allocations: 456.8 kB / 0.8576 GB, free: 10.49 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.0194, allocations: 29.7 kB / 0.8576 GB, free: 10.45 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.517e-05/0.0195, allocations: 225.2 kB / 0.8579 GB, free: 10.23 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.01952, allocations: 51.58 kB / 0.8579 GB, free: 10.18 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.527e-05/0.01959, allocations: 69.84 kB / 0.858 GB, free: 10.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.363e-05/0.01967, allocations: 358.6 kB / 0.8583 GB, free: 9.738 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.01971, allocations: 40.8 kB / 0.8584 GB, free: 9.695 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.01986, allocations: 375.2 kB / 0.8587 GB, free: 9.227 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.01998, allocations: 151.6 kB / 0.8589 GB, free: 9.043 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01998, allocations: 0 / 0.8589 GB, free: 9.043 MB / 0.823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001743/0.02016, allocations: 180.9 kB / 0.859 GB, free: 8.859 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.02017, allocations: 8 kB / 0.859 GB, free: 8.852 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.02018, allocations: 4 kB / 0.859 GB, free: 8.848 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.02019, allocations: 7.984 kB / 0.859 GB, free: 8.84 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.02033, allocations: 59.91 kB / 0.8591 GB, free: 8.781 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.02033, allocations: 4 kB / 0.8591 GB, free: 8.777 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.02045, allocations: 48.05 kB / 0.8592 GB, free: 8.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.02047, allocations: 15.92 kB / 0.8592 GB, free: 8.715 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.514e-05/0.02056, allocations: 122.3 kB / 0.8593 GB, free: 8.59 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003691/0.02092, allocations: 365.8 kB / 0.8596 GB, free: 8.129 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001136/0.02104, allocations: 164.4 kB / 0.8598 GB, free: 7.934 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.02104, allocations: 0 / 0.8598 GB, free: 7.934 MB / 0.823 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0002195/0.02126, allocations: 183 kB / 0.86 GB, free: 7.746 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/0.02127, allocations: 4 kB / 0.86 GB, free: 7.742 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.02127, allocations: 4 kB / 0.86 GB, free: 7.738 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-06/0.02127, allocations: 4 kB / 0.86 GB, free: 7.734 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.02141, allocations: 59.91 kB / 0.86 GB, free: 7.676 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.02141, allocations: 12.19 kB / 0.86 GB, free: 7.664 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.02155, allocations: 35.83 kB / 0.8601 GB, free: 7.629 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.02157, allocations: 8 kB / 0.8601 GB, free: 7.621 MB / 0.823 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 7.386e-05/0.02164, allocations: 204.1 kB / 0.8603 GB, free: 7.414 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.02168, allocations: 31.95 kB / 0.8603 GB, free: 7.383 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.02187, allocations: 146.5 kB / 0.8605 GB, free: 7.238 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.02187, allocations: 0 / 0.8605 GB, free: 7.238 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.02187, allocations: 0 / 0.8605 GB, free: 7.238 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.02187, allocations: 4 kB / 0.8605 GB, free: 7.234 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.02229, allocations: 0.5203 MB / 0.861 GB, free: 6.672 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.02229, allocations: 0 / 0.861 GB, free: 6.672 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.415e-05/0.02235, allocations: 31.92 kB / 0.861 GB, free: 6.641 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.02235, allocations: 0 / 0.861 GB, free: 6.641 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.02236, allocations: 8 kB / 0.861 GB, free: 6.633 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.02237, allocations: 3.938 kB / 0.861 GB, free: 6.629 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.02237, allocations: 4 kB / 0.861 GB, free: 6.625 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.02253, allocations: 285 kB / 0.8613 GB, free: 6.312 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.02259, allocations: 67.58 kB / 0.8613 GB, free: 6.246 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.02262, allocations: 4 kB / 0.8614 GB, free: 6.242 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.0227, allocations: 11.94 kB / 0.8614 GB, free: 6.23 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.02273, allocations: 11.97 kB / 0.8614 GB, free: 6.219 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.02274, allocations: 8 kB / 0.8614 GB, free: 6.211 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001438/0.02288, allocations: 199.2 kB / 0.8616 GB, free: 6.016 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.02288, allocations: 0 / 0.8616 GB, free: 6.016 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003648/0.02325, allocations: 219.5 kB / 0.8618 GB, free: 5.801 MB / 0.823 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.001024/0.02427, allocations: 0.5208 MB / 0.8623 GB, free: 5.473 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.02449, allocations: 194.7 kB / 0.8625 GB, free: 5.277 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.0245, allocations: 4 kB / 0.8625 GB, free: 5.273 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.02455, allocations: 45.77 kB / 0.8625 GB, free: 5.227 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.02509, allocations: 232.2 kB / 0.8627 GB, free: 4.996 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009826/0.02607, allocations: 0.733 MB / 0.8635 GB, free: 4.211 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.943e-05/0.02614, allocations: 125.5 kB / 0.8636 GB, free: 4.07 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.02629, allocations: 68.47 kB / 0.8636 GB, free: 4.004 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.02656, allocations: 197.2 kB / 0.8638 GB, free: 3.812 MB / 0.823 GB Notification: Performance of SimCode: time 8.71e-07/0.02656, allocations: 0 / 0.8638 GB, free: 3.812 MB / 0.823 GB Notification: Performance of Templates: time 0.01135/0.03791, allocations: 10.25 MB / 0.8738 GB, free: 9.812 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4228423442691565]