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.001351/0.001351, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001717/0.001717, allocations: 215.8 kB / 23.01 MB, free: 4.609 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.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 3.472/3.472, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 69.34 kB / 1.178 GB, free: 16.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4274, allocations: 180.2 MB / 1.354 GB, free: 8.008 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004249/0.4317, allocations: 2.083 MB / 1.356 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.4333, allocations: 0.7953 MB / 1.357 GB, free: 5.109 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.4335, allocations: 7.938 kB / 1.357 GB, free: 5.102 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.4337, allocations: 31.61 kB / 1.357 GB, free: 5.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.4338, allocations: 47.59 kB / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005385/0.4343, allocations: 179.7 kB / 1.357 GB, free: 4.848 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005114/0.4348, allocations: 411.1 kB / 1.358 GB, free: 4.445 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.4352, allocations: 197 kB / 1.358 GB, free: 4.254 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.4355, allocations: 151.5 kB / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.4357, allocations: 147.3 kB / 1.358 GB, free: 3.961 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/0.4358, allocations: 40 kB / 1.358 GB, free: 3.922 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.4359, allocations: 59.92 kB / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.941e-05/0.436, allocations: 79.77 kB / 1.358 GB, free: 3.785 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.4361, allocations: 147.2 kB / 1.358 GB, free: 3.641 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005249/0.4366, allocations: 434.3 kB / 1.359 GB, free: 3.215 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4366, allocations: 4 kB / 1.359 GB, free: 3.211 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4366, allocations: 0 / 1.359 GB, free: 3.211 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.4366, allocations: 0 / 1.359 GB, free: 3.211 MB / 1.045 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.0009442/0.4376, allocations: 0.5129 MB / 1.359 GB, free: 2.668 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.4376, allocations: 12.03 kB / 1.359 GB, free: 2.656 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004296/0.4381, allocations: 56.72 kB / 1.359 GB, free: 2.602 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.4385, allocations: 225.9 kB / 1.36 GB, free: 2.355 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.4385, allocations: 29.02 kB / 1.36 GB, free: 2.324 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.4386, allocations: 36.38 kB / 1.36 GB, free: 2.289 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005743/0.4392, allocations: 313.4 kB / 1.36 GB, free: 1.973 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4392, allocations: 0 / 1.36 GB, free: 1.973 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.4392, allocations: 12 kB / 1.36 GB, free: 1.961 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.4392, allocations: 12 kB / 1.36 GB, free: 1.949 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004842/0.4397, allocations: 234.4 kB / 1.36 GB, free: 1.719 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.4412, allocations: 0.8866 MB / 1.361 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.4417, allocations: 227.6 kB / 1.361 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.4419, allocations: 106.4 kB / 1.361 GB, free: 452 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.442, allocations: 4.234 kB / 1.361 GB, free: 448 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.4423, allocations: 159.5 kB / 1.361 GB, free: 276 kB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 1.724e-06/0.4423, allocations: 4 kB / 1.361 GB, free: 272 kB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.0006997/0.443, allocations: 318.2 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.443, allocations: 59.39 kB / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.4432, allocations: 206.5 kB / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/0.4433, allocations: 41.7 kB / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.4434, allocations: 160.7 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.035e-05/0.4435, allocations: 83.36 kB / 1.362 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.4436, allocations: 77.69 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.4438, allocations: 334.8 kB / 1.363 GB, free: 14.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.444, allocations: 95.95 kB / 1.363 GB, free: 14.86 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.4442, allocations: 145.8 kB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.4446, allocations: 218 kB / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4446, allocations: 0 / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005578/0.4452, allocations: 308.8 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.4452, allocations: 4 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4452, allocations: 7.938 kB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4452, allocations: 4 kB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.4454, allocations: 39.86 kB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.4454, allocations: 7.938 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.4456, allocations: 47.95 kB / 1.364 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.4457, allocations: 12 kB / 1.364 GB, free: 14.04 MB / 1.061 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.0001954/0.4458, allocations: 177.6 kB / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.4459, allocations: 27.84 kB / 1.364 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.291e-05/0.446, allocations: 26.66 kB / 1.364 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.446, allocations: 4 kB / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.446, allocations: 0 / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.446, allocations: 7.984 kB / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.447, allocations: 0.6852 MB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.447, allocations: 0 / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.4472, allocations: 27.92 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4472, allocations: 0 / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.4472, allocations: 11.98 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4472, allocations: 0 / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4472, allocations: 4 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.4477, allocations: 352.1 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.4477, allocations: 23.8 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.4478, allocations: 8 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.448, allocations: 23.97 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.4481, allocations: 51.88 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.4481, allocations: 4 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001161/0.4482, allocations: 139.3 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4482, allocations: 0 / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003207/0.4485, allocations: 67.84 kB / 1.365 GB, free: 12.35 MB / 1.061 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.0001471/0.4487, allocations: 116.9 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000501/0.4492, allocations: 231.6 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4492, allocations: 0 / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.4494, allocations: 116.3 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.4498, allocations: 32.48 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009043/0.4507, allocations: 485.2 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.4511, allocations: 0.7635 MB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.131e-05/0.4512, allocations: 27.44 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4512, allocations: 0 / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of Templates: time 0.005892/0.4571, allocations: 3.281 MB / 1.37 GB, free: 7.262 MB / 1.061 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/jenkins1/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: 12.347966587985866]