Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001113/0.001113, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00122/0.00122, allocations: 181 kB / 23.36 MB, free: 1.129 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.9225/0.9225, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.368/2.368, allocations: 438.8 MB / 0.6826 GB, free: 13.61 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.376e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.00784/0.007864, allocations: 7.359 MB / 0.8458 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004623/0.01249, allocations: 3.257 MB / 0.849 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004472/0.01293, allocations: 31.75 kB / 0.849 GB, free: 3.547 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007136/0.01365, allocations: 194.6 kB / 0.8492 GB, free: 3.355 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.01468, allocations: 493 kB / 0.8496 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.01627, allocations: 0.7245 MB / 0.8503 GB, free: 2.145 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001624/0.01789, allocations: 0.9893 MB / 0.8513 GB, free: 1.148 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004538/0.01835, allocations: 277.2 kB / 0.8516 GB, free: 0.8711 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.01945, allocations: 0.5337 MB / 0.8521 GB, free: 364 kB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.01982, allocations: 255.2 kB / 0.8523 GB, free: 108 kB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.956e-05/0.01987, allocations: 28 kB / 0.8524 GB, free: 80 kB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008389/0.02071, allocations: 475 kB / 0.8528 GB, free: 15.61 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.02083, allocations: 103.5 kB / 0.8529 GB, free: 15.51 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.021, allocations: 143.6 kB / 0.8531 GB, free: 15.37 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0009148/0.02192, allocations: 0.6073 MB / 0.8536 GB, free: 14.76 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.02192, allocations: 0 / 0.8536 GB, free: 14.76 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.282e-06/0.02192, allocations: 0 / 0.8536 GB, free: 14.76 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.02193, allocations: 8 kB / 0.8537 GB, free: 14.75 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008977/0.02283, allocations: 0.72 MB / 0.8544 GB, free: 14.01 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.02286, allocations: 8.031 kB / 0.8544 GB, free: 14 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.965e-05/0.02295, allocations: 48.89 kB / 0.8544 GB, free: 13.95 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.0234, allocations: 347.6 kB / 0.8547 GB, free: 13.59 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.02343, allocations: 20.88 kB / 0.8548 GB, free: 13.57 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.02347, allocations: 39.86 kB / 0.8548 GB, free: 13.53 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.02371, allocations: 155.6 kB / 0.855 GB, free: 13.37 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.02372, allocations: 0 / 0.855 GB, free: 13.37 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.02373, allocations: 4 kB / 0.855 GB, free: 13.36 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.02374, allocations: 12 kB / 0.855 GB, free: 13.35 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/0.02383, allocations: 51.47 kB / 0.855 GB, free: 13.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008854/0.02472, allocations: 0.4899 MB / 0.8555 GB, free: 12.79 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.02485, allocations: 109.2 kB / 0.8556 GB, free: 12.67 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.02489, allocations: 27.67 kB / 0.8556 GB, free: 12.64 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.85e-05/0.02498, allocations: 19.98 kB / 0.8556 GB, free: 12.62 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.025, allocations: 30.56 kB / 0.8557 GB, free: 12.58 MB / 0.823 GB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.025, allocations: 0 / 0.8557 GB, free: 12.58 MB / 0.823 GB Notification: Performance of matching and sorting (n=14): time 0.0002107/0.02521, allocations: 109.6 kB / 0.8558 GB, free: 12.47 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.02524, allocations: 51.41 kB / 0.8558 GB, free: 12.41 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.02554, allocations: 388.8 kB / 0.8562 GB, free: 12.01 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.02557, allocations: 29.7 kB / 0.8562 GB, free: 11.98 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.02567, allocations: 181.5 kB / 0.8564 GB, free: 11.79 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.0257, allocations: 55.52 kB / 0.8565 GB, free: 11.74 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.537e-05/0.02577, allocations: 57.66 kB / 0.8565 GB, free: 11.68 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.02588, allocations: 350.7 kB / 0.8568 GB, free: 11.32 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.082e-05/0.02593, allocations: 31.67 kB / 0.8569 GB, free: 11.29 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.0261, allocations: 344.7 kB / 0.8572 GB, free: 10.86 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.02622, allocations: 85.89 kB / 0.8573 GB, free: 10.77 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.02622, allocations: 4 kB / 0.8573 GB, free: 10.77 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000191/0.02641, allocations: 127.2 kB / 0.8574 GB, free: 10.63 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.02642, allocations: 15.94 kB / 0.8574 GB, free: 10.62 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.02643, allocations: 0 / 0.8574 GB, free: 10.62 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.02644, allocations: 4 kB / 0.8574 GB, free: 10.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.02659, allocations: 47.91 kB / 0.8575 GB, free: 10.57 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.0266, allocations: 4 kB / 0.8575 GB, free: 10.56 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.02673, allocations: 23.88 kB / 0.8575 GB, free: 10.54 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.02675, allocations: 7.938 kB / 0.8575 GB, free: 10.53 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001028/0.02685, allocations: 109.8 kB / 0.8576 GB, free: 10.42 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001683/0.02702, allocations: 364.9 kB / 0.858 GB, free: 9.969 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001066/0.02713, allocations: 105.3 kB / 0.8581 GB, free: 9.852 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.02713, allocations: 0 / 0.8581 GB, free: 9.852 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0002062/0.02734, allocations: 139.1 kB / 0.8582 GB, free: 9.707 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.843e-06/0.02734, allocations: 4 kB / 0.8582 GB, free: 9.703 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.02735, allocations: 0 / 0.8582 GB, free: 9.703 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-06/0.02735, allocations: 7.938 kB / 0.8582 GB, free: 9.695 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.02748, allocations: 39.92 kB / 0.8582 GB, free: 9.656 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.02748, allocations: 7.984 kB / 0.8582 GB, free: 9.648 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.02762, allocations: 27.94 kB / 0.8583 GB, free: 9.621 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.02764, allocations: 11.98 kB / 0.8583 GB, free: 9.609 MB / 0.823 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 9.799e-05/0.02774, allocations: 192.2 kB / 0.8585 GB, free: 9.414 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.02778, allocations: 23.97 kB / 0.8585 GB, free: 9.391 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.02805, allocations: 150.6 kB / 0.8586 GB, free: 9.238 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.02805, allocations: 0 / 0.8586 GB, free: 9.238 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.02806, allocations: 0 / 0.8586 GB, free: 9.238 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.02806, allocations: 4 kB / 0.8586 GB, free: 9.234 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.02857, allocations: 0.5047 MB / 0.8591 GB, free: 8.688 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.02857, allocations: 0 / 0.8591 GB, free: 8.688 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.02865, allocations: 23.98 kB / 0.8592 GB, free: 8.664 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.02865, allocations: 4 kB / 0.8592 GB, free: 8.66 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.02866, allocations: 4 kB / 0.8592 GB, free: 8.656 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.02867, allocations: 4 kB / 0.8592 GB, free: 8.652 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.02867, allocations: 3.984 kB / 0.8592 GB, free: 8.648 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.02885, allocations: 280.8 kB / 0.8594 GB, free: 8.34 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.02899, allocations: 55.75 kB / 0.8595 GB, free: 8.285 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.02902, allocations: 11.98 kB / 0.8595 GB, free: 8.273 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.02914, allocations: 8 kB / 0.8595 GB, free: 8.266 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.02917, allocations: 12.11 kB / 0.8595 GB, free: 8.254 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.02918, allocations: 12 kB / 0.8595 GB, free: 8.242 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001476/0.02933, allocations: 159.5 kB / 0.8597 GB, free: 8.086 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.02933, allocations: 0 / 0.8597 GB, free: 8.086 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004799/0.02981, allocations: 199.5 kB / 0.8599 GB, free: 7.891 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 (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.001227/0.03104, allocations: 0.5011 MB / 0.8604 GB, free: 7.578 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.03128, allocations: 143.8 kB / 0.8605 GB, free: 7.434 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.03128, allocations: 4 kB / 0.8605 GB, free: 7.43 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.342e-05/0.03135, allocations: 44.77 kB / 0.8605 GB, free: 7.383 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.03193, allocations: 185.2 kB / 0.8607 GB, free: 7.203 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.03318, allocations: 0.6803 MB / 0.8614 GB, free: 6.484 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.832e-05/0.03326, allocations: 113.3 kB / 0.8615 GB, free: 6.355 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001703/0.03343, allocations: 59.56 kB / 0.8616 GB, free: 6.297 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.03372, allocations: 167.2 kB / 0.8617 GB, free: 6.133 MB / 0.823 GB Notification: Performance of SimCode: time 9.72e-07/0.03372, allocations: 0 / 0.8617 GB, free: 6.133 MB / 0.823 GB Notification: Performance of Templates: time 0.01276/0.04648, allocations: 8.275 MB / 0.8698 GB, free: 14.05 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.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.5641855779103935]