Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.002366/0.002366, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002242/0.002242, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.654/1.654, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.876/2.876, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.875e-05, allocations: 3.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004261/0.00429, allocations: 2.25 MB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002816/0.007106, allocations: 1.388 MB / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.007267, allocations: 8.5 kB / 0.7899 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005051/0.007772, allocations: 176.7 kB / 0.7901 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006767/0.008448, allocations: 225.2 kB / 0.7903 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.008883, allocations: 187.5 kB / 0.7905 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000571/0.009454, allocations: 442.6 kB / 0.7909 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.009643, allocations: 69.47 kB / 0.791 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.01, allocations: 235.4 kB / 0.7912 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.01027, allocations: 165.2 kB / 0.7914 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.059e-05/0.01033, allocations: 28 kB / 0.7914 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.0105, allocations: 71.97 kB / 0.7915 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.01067, allocations: 123 kB / 0.7916 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.01083, allocations: 99.69 kB / 0.7917 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006864/0.01152, allocations: 0.4983 MB / 0.7922 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01152, allocations: 0 / 0.7922 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.513e-06/0.01152, allocations: 0 / 0.7922 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.01153, allocations: 0 / 0.7922 GB, free: 6.875 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001365/0.01289, allocations: 0.7903 MB / 0.7929 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.01293, allocations: 8.031 kB / 0.7929 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.01307, allocations: 65.3 kB / 0.793 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006533/0.01372, allocations: 335.8 kB / 0.7933 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.01375, allocations: 12.36 kB / 0.7933 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.01379, allocations: 16.91 kB / 0.7933 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.0142, allocations: 212 kB / 0.7935 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.01422, allocations: 0 / 0.7935 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.01424, allocations: 4 kB / 0.7936 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.01425, allocations: 4 kB / 0.7936 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.01447, allocations: 77.11 kB / 0.7936 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.01602, allocations: 0.8687 MB / 0.7945 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/0.01638, allocations: 139.2 kB / 0.7946 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.0165, allocations: 52.3 kB / 0.7947 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.01652, allocations: 7.984 kB / 0.7947 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000309/0.01683, allocations: 145.3 kB / 0.7948 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.01683, allocations: 0 / 0.7948 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.000593/0.01743, allocations: 206.7 kB / 0.795 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.925e-05/0.01753, allocations: 110.8 kB / 0.7951 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007975/0.01832, allocations: 0.5885 MB / 0.7957 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.01836, allocations: 33.7 kB / 0.7957 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.01864, allocations: 295.8 kB / 0.796 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.0187, allocations: 44.3 kB / 0.796 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.01885, allocations: 87.34 kB / 0.7961 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003531/0.01921, allocations: 0.5673 MB / 0.7967 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.01938, allocations: 71.83 kB / 0.7967 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.0197, allocations: 241.3 kB / 0.797 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.02015, allocations: 178.2 kB / 0.7971 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.02016, allocations: 0 / 0.7971 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006061/0.02076, allocations: 309.6 kB / 0.7974 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.02078, allocations: 4 kB / 0.7974 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.02079, allocations: 4 kB / 0.7974 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.02081, allocations: 4.531 kB / 0.7975 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.02102, allocations: 48.61 kB / 0.7975 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.02103, allocations: 7.984 kB / 0.7975 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.02124, allocations: 29.12 kB / 0.7975 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.02127, allocations: 8 kB / 0.7975 GB, free: 1.035 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,tanSta.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002145/0.02149, allocations: 203.3 kB / 0.7977 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-05/0.02157, allocations: 48.59 kB / 0.7978 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.02201, allocations: 197 kB / 0.798 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.02201, allocations: 1.266 kB / 0.798 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.02202, allocations: 3.984 kB / 0.798 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.02203, allocations: 0 / 0.798 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.02244, allocations: 332.4 kB / 0.7983 GB, free: 220 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.02244, allocations: 0.8438 kB / 0.7983 GB, free: 220 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.041e-05/0.02249, allocations: 8 kB / 0.7983 GB, free: 212 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.0225, allocations: 10.16 kB / 0.7983 GB, free: 204 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.02251, allocations: 3.984 kB / 0.7983 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.02252, allocations: 4 kB / 0.7983 GB, free: 196 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02252, allocations: 0 / 0.7983 GB, free: 196 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.02295, allocations: 238.6 kB / 0.7985 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.02306, allocations: 47.64 kB / 0.7986 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.02311, allocations: 14.97 kB / 0.7986 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.02324, allocations: 15.98 kB / 0.7986 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.448e-05/0.02332, allocations: 23.95 kB / 0.7986 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.02334, allocations: 4 kB / 0.7986 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004582/0.02379, allocations: 359 kB / 0.799 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.02379, allocations: 0 / 0.799 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003373/0.02413, allocations: 71.89 kB / 0.7991 GB, free: 15.41 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003006/0.02714, allocations: 453.1 kB / 0.7995 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004884/0.02763, allocations: 180.1 kB / 0.7997 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.02763, allocations: 4 kB / 0.7997 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.02778, allocations: 63.59 kB / 0.7997 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.02835, allocations: 107.7 kB / 0.7998 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.02949, allocations: 0.5837 MB / 0.8004 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.02973, allocations: 208.6 kB / 0.8006 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.02987, allocations: 58.92 kB / 0.8007 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.02998, allocations: 40.42 kB / 0.8007 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of SimCode: time 1.232e-06/0.02998, allocations: 0 / 0.8007 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of Templates: time 0.01186/0.04184, allocations: 5.186 MB / 0.8058 GB, free: 8.785 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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: 8.169832175946794]