Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.001654/0.001654, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002079/0.002079, allocations: 163 kB / 22.46 MB, free: 5.375 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.706/1.706, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.929/2.929, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 1 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.066e-05, allocations: 8.812 kB / 1 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.00367/0.0037, allocations: 2.023 MB / 1.002 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.005268, allocations: 0.7557 MB / 1.003 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.005471, allocations: 7.938 kB / 1.003 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.005652, allocations: 35.61 kB / 1.003 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.005798, allocations: 43.53 kB / 1.003 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005948/0.006392, allocations: 183.6 kB / 1.003 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005579/0.00695, allocations: 415 kB / 1.003 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000402/0.007352, allocations: 209 kB / 1.004 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003923/0.007745, allocations: 203.6 kB / 1.004 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.007969, allocations: 111.7 kB / 1.004 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.839e-05/0.008048, allocations: 40 kB / 1.004 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.008159, allocations: 43.94 kB / 1.004 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.008262, allocations: 87.73 kB / 1.004 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.008409, allocations: 103.7 kB / 1.004 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006011/0.00901, allocations: 446.5 kB / 1.005 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.009015, allocations: 0 / 1.005 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.352e-06/0.009016, allocations: 0 / 1.005 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.381e-05/0.00904, allocations: 0 / 1.005 GB, free: 1.516 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001132/0.01017, allocations: 0.5012 MB / 1.005 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.01021, allocations: 8.031 kB / 1.005 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005005/0.01071, allocations: 68.64 kB / 1.005 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.01118, allocations: 221.8 kB / 1.005 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.01122, allocations: 29.03 kB / 1.005 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/0.01128, allocations: 28.38 kB / 1.005 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006825/0.01196, allocations: 309.6 kB / 1.006 GB, free: 304 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.01198, allocations: 192 / 1.006 GB, free: 304 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.01202, allocations: 12.38 kB / 1.006 GB, free: 292 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.01203, allocations: 15.92 kB / 1.006 GB, free: 276 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/0.01258, allocations: 238.4 kB / 1.006 GB, free: 40 kB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.0141, allocations: 0.7585 MB / 1.007 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.01466, allocations: 220.5 kB / 1.007 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.01488, allocations: 109.3 kB / 1.007 GB, free: 14.91 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.01491, allocations: 240 / 1.007 GB, free: 14.91 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003229/0.01523, allocations: 163.5 kB / 1.007 GB, free: 14.73 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.01523, allocations: 0 / 1.007 GB, free: 14.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.0008207/0.01605, allocations: 325.3 kB / 1.008 GB, free: 14.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.01611, allocations: 55.41 kB / 1.008 GB, free: 14.34 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.01633, allocations: 195.8 kB / 1.008 GB, free: 14.14 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.905e-05/0.01639, allocations: 49.69 kB / 1.008 GB, free: 14.09 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.01653, allocations: 156.8 kB / 1.008 GB, free: 13.93 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.592e-05/0.01662, allocations: 83.31 kB / 1.008 GB, free: 13.85 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.01677, allocations: 85.62 kB / 1.008 GB, free: 13.76 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.01694, allocations: 326.8 kB / 1.008 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.01718, allocations: 91.95 kB / 1.009 GB, free: 13.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.01746, allocations: 153 kB / 1.009 GB, free: 13.17 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.0179, allocations: 216.7 kB / 1.009 GB, free: 12.94 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.0179, allocations: 0 / 1.009 GB, free: 12.94 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005998/0.0185, allocations: 307.3 kB / 1.009 GB, free: 12.64 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.01852, allocations: 4 kB / 1.009 GB, free: 12.63 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.01853, allocations: 8.094 kB / 1.009 GB, free: 12.62 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.01855, allocations: 8 kB / 1.009 GB, free: 12.62 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.01876, allocations: 35.91 kB / 1.009 GB, free: 12.58 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.01876, allocations: 4 kB / 1.009 GB, free: 12.58 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.019, allocations: 43.81 kB / 1.009 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.01902, allocations: 8 kB / 1.009 GB, free: 12.53 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002187/0.01924, allocations: 173.8 kB / 1.009 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.01928, allocations: 23.91 kB / 1.009 GB, free: 12.32 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.645e-05/0.01935, allocations: 30.59 kB / 1.01 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.01936, allocations: 4 kB / 1.01 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.01937, allocations: 0 / 1.01 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.01938, allocations: 3.984 kB / 1.01 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.02043, allocations: 0.6008 MB / 1.01 GB, free: 11.65 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.02043, allocations: 7.875 kB / 1.01 GB, free: 11.64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.02059, allocations: 31.92 kB / 1.01 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.02059, allocations: 4 kB / 1.01 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.02062, allocations: 8 kB / 1.01 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.02062, allocations: 0 / 1.01 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02062, allocations: 0 / 1.01 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.02118, allocations: 352.5 kB / 1.01 GB, free: 11.24 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.02121, allocations: 23.8 kB / 1.011 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.02125, allocations: 7.984 kB / 1.011 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.02147, allocations: 27.97 kB / 1.011 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.02158, allocations: 39.94 kB / 1.011 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.0216, allocations: 4 kB / 1.011 GB, free: 11.14 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001255/0.02173, allocations: 133.2 kB / 1.011 GB, free: 11.01 MB / 0.92 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02173, allocations: 0 / 1.011 GB, free: 11.01 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003367/0.02206, allocations: 63.83 kB / 1.011 GB, free: 10.95 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * 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.0001746/0.02224, allocations: 121.2 kB / 1.011 GB, free: 10.82 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005732/0.02281, allocations: 235.8 kB / 1.011 GB, free: 10.59 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.02282, allocations: 4 kB / 1.011 GB, free: 10.59 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.02307, allocations: 107.9 kB / 1.011 GB, free: 10.48 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.02346, allocations: 39.91 kB / 1.011 GB, free: 10.44 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009947/0.02445, allocations: 465.3 kB / 1.012 GB, free: 9.965 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.02462, allocations: 151 kB / 1.012 GB, free: 9.797 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000102/0.02472, allocations: 26.28 kB / 1.012 GB, free: 9.773 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.02483, allocations: 24.5 kB / 1.012 GB, free: 9.746 MB / 0.92 GB Notification: Performance of SimCode: time 5.21e-07/0.02483, allocations: 0 / 1.012 GB, free: 9.746 MB / 0.92 GB Notification: Performance of Templates: time 0.007202/0.03203, allocations: 2.867 MB / 1.015 GB, free: 6.926 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.58139955252409]