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.0009077/0.0009077, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009254/0.0009254, allocations: 177 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.9323/0.9323, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.346/2.346, allocations: 438.8 MB / 0.6827 GB, free: 13.58 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.442e-06/1.442e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.516e-05, allocations: 9.625 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0127/0.01272, allocations: 7.507 MB / 0.8459 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004028/0.01675, allocations: 3.164 MB / 0.849 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004301/0.01718, allocations: 23.81 kB / 0.849 GB, free: 3.457 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006374/0.01782, allocations: 190.6 kB / 0.8492 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0009231/0.01874, allocations: 0.4933 MB / 0.8497 GB, free: 2.773 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.0201, allocations: 0.7438 MB / 0.8504 GB, free: 2.027 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0009547/0.02106, allocations: 0.9582 MB / 0.8514 GB, free: 1.066 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.02141, allocations: 293.6 kB / 0.8516 GB, free: 0.7734 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008202/0.02223, allocations: 0.5031 MB / 0.8521 GB, free: 288 kB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.02252, allocations: 255.2 kB / 0.8524 GB, free: 32 kB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.02256, allocations: 32 kB / 0.8524 GB, free: 0 / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007414/0.02331, allocations: 0.5184 MB / 0.8529 GB, free: 15.48 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.02342, allocations: 143.5 kB / 0.8531 GB, free: 15.34 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.02354, allocations: 159.5 kB / 0.8532 GB, free: 15.18 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0008362/0.02438, allocations: 0.6812 MB / 0.8539 GB, free: 14.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.02438, allocations: 0 / 0.8539 GB, free: 14.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.813e-06/0.02438, allocations: 4 kB / 0.8539 GB, free: 14.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.02439, allocations: 0 / 0.8539 GB, free: 14.5 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.0007726/0.02516, allocations: 0.7704 MB / 0.8546 GB, free: 13.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.02519, allocations: 8.625 kB / 0.8546 GB, free: 13.69 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.02534, allocations: 64.81 kB / 0.8547 GB, free: 13.63 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.02573, allocations: 370.4 kB / 0.855 GB, free: 13.24 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.02575, allocations: 24.88 kB / 0.8551 GB, free: 13.21 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.02578, allocations: 28.38 kB / 0.8551 GB, free: 13.19 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.02602, allocations: 236.7 kB / 0.8553 GB, free: 12.93 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.02603, allocations: 0 / 0.8553 GB, free: 12.93 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.02604, allocations: 12 kB / 0.8553 GB, free: 12.92 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.02605, allocations: 8 kB / 0.8553 GB, free: 12.91 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.348e-05/0.02613, allocations: 70.23 kB / 0.8554 GB, free: 12.84 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008933/0.02702, allocations: 0.9161 MB / 0.8563 GB, free: 11.88 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.02716, allocations: 129.2 kB / 0.8564 GB, free: 11.75 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.0272, allocations: 35.67 kB / 0.8565 GB, free: 11.71 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005772/0.02777, allocations: 486.1 kB / 0.8569 GB, free: 11.22 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.0278, allocations: 34.55 kB / 0.857 GB, free: 11.18 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.0278, allocations: 0 / 0.857 GB, free: 11.18 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0001933/0.02799, allocations: 160 kB / 0.8571 GB, free: 11.02 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.02802, allocations: 55.41 kB / 0.8572 GB, free: 10.95 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.0283, allocations: 448.8 kB / 0.8576 GB, free: 10.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.02832, allocations: 33.7 kB / 0.8576 GB, free: 10.46 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.02841, allocations: 225.2 kB / 0.8578 GB, free: 10.23 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.02844, allocations: 51.58 kB / 0.8579 GB, free: 10.18 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.02851, allocations: 69.91 kB / 0.858 GB, free: 10.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.0286, allocations: 362.6 kB / 0.8583 GB, free: 9.738 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-05/0.02864, allocations: 28.8 kB / 0.8583 GB, free: 9.707 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.0288, allocations: 387.1 kB / 0.8587 GB, free: 9.227 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.02892, allocations: 153.3 kB / 0.8588 GB, free: 9.043 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.02892, allocations: 4 kB / 0.8588 GB, free: 9.039 MB / 0.823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001771/0.0291, allocations: 179 kB / 0.859 GB, free: 8.855 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.02911, allocations: 10.75 kB / 0.859 GB, free: 8.848 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.02912, allocations: 8.25 kB / 0.859 GB, free: 8.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.02913, allocations: 4 kB / 0.859 GB, free: 8.836 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.02926, allocations: 59.91 kB / 0.8591 GB, free: 8.777 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.02927, allocations: 4 kB / 0.8591 GB, free: 8.773 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.02938, allocations: 39.67 kB / 0.8591 GB, free: 8.734 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.0294, allocations: 11.98 kB / 0.8592 GB, free: 8.723 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.687e-05/0.02949, allocations: 118.3 kB / 0.8593 GB, free: 8.602 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000145/0.02964, allocations: 373.8 kB / 0.8596 GB, free: 8.133 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001112/0.02975, allocations: 157.3 kB / 0.8598 GB, free: 7.945 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.223e-06/0.02975, allocations: 0 / 0.8598 GB, free: 7.945 MB / 0.823 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0001625/0.02991, allocations: 179.2 kB / 0.8599 GB, free: 7.762 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/0.02992, allocations: 12.03 kB / 0.86 GB, free: 7.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-06/0.02992, allocations: 0 / 0.86 GB, free: 7.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.918e-06/0.02992, allocations: 4 kB / 0.86 GB, free: 7.746 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.03003, allocations: 63.91 kB / 0.86 GB, free: 7.684 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.03004, allocations: 4 kB / 0.86 GB, free: 7.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.03015, allocations: 31.83 kB / 0.8601 GB, free: 7.648 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.03017, allocations: 8 kB / 0.8601 GB, free: 7.641 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.984e-05/0.03025, allocations: 200.1 kB / 0.8603 GB, free: 7.438 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.03029, allocations: 35.95 kB / 0.8603 GB, free: 7.402 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.03053, allocations: 154.9 kB / 0.8604 GB, free: 7.246 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.03053, allocations: 4 kB / 0.8604 GB, free: 7.242 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.03053, allocations: 0 / 0.8604 GB, free: 7.242 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.03054, allocations: 0 / 0.8604 GB, free: 7.242 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.03094, allocations: 0.5047 MB / 0.8609 GB, free: 6.695 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.03095, allocations: 7.984 kB / 0.8609 GB, free: 6.688 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.03101, allocations: 27.98 kB / 0.861 GB, free: 6.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.03102, allocations: 8.125 kB / 0.861 GB, free: 6.652 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.03103, allocations: 4 kB / 0.861 GB, free: 6.648 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.03103, allocations: 11.88 kB / 0.861 GB, free: 6.637 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.03103, allocations: 0 / 0.861 GB, free: 6.637 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.03119, allocations: 281 kB / 0.8613 GB, free: 6.328 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.03125, allocations: 67.58 kB / 0.8613 GB, free: 6.262 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.03128, allocations: 3.984 kB / 0.8613 GB, free: 6.258 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.03136, allocations: 15.88 kB / 0.8613 GB, free: 6.242 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.03139, allocations: 19.92 kB / 0.8614 GB, free: 6.223 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.0314, allocations: 7.984 kB / 0.8614 GB, free: 6.215 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001391/0.03154, allocations: 199.2 kB / 0.8616 GB, free: 6.02 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.03154, allocations: 0 / 0.8616 GB, free: 6.02 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004082/0.03195, allocations: 223.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.001115/0.03307, allocations: 0.5084 MB / 0.8623 GB, free: 5.484 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.03331, allocations: 191.8 kB / 0.8624 GB, free: 5.293 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.03332, allocations: 8 kB / 0.8625 GB, free: 5.285 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.455e-05/0.03337, allocations: 44.72 kB / 0.8625 GB, free: 5.238 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.03393, allocations: 222.1 kB / 0.8627 GB, free: 5.023 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.03503, allocations: 0.7447 MB / 0.8634 GB, free: 4.227 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.96e-05/0.03511, allocations: 121.5 kB / 0.8636 GB, free: 4.09 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001621/0.03527, allocations: 68.53 kB / 0.8636 GB, free: 4.023 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.03554, allocations: 193.1 kB / 0.8638 GB, free: 3.836 MB / 0.823 GB Notification: Performance of SimCode: time 7.12e-07/0.03554, allocations: 0 / 0.8638 GB, free: 3.836 MB / 0.823 GB Notification: Performance of Templates: time 0.01225/0.04778, allocations: 10.25 MB / 0.8738 GB, free: 9.824 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 -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.490168994758278]