Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001361/0.001361, allocations: 113 kB / 18.94 MB, free: 2.934 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.001622/0.001622, allocations: 208.1 kB / 22.25 MB, free: 5.086 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.315/3.315, allocations: 0.49 GB / 0.7951 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.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_12_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_12_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.00212/0.00212, allocations: 65.88 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.4879, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004197/0.4921, allocations: 2.084 MB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.494, allocations: 0.7987 MB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.4942, allocations: 8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.4944, allocations: 39.53 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.4945, allocations: 43.59 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006729/0.4952, allocations: 183.7 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005993/0.4958, allocations: 407.1 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004233/0.4962, allocations: 196.4 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.4965, allocations: 147.5 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.4968, allocations: 151.4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.467e-05/0.4969, allocations: 44 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.497, allocations: 47.94 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.4971, allocations: 91.67 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.4973, allocations: 151.3 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000662/0.498, allocations: 434.3 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.498, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.984e-06/0.498, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.498, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 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.001202/0.4992, allocations: 0.5128 MB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.4992, allocations: 8.031 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004931/0.4997, allocations: 64.7 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.5002, allocations: 222.6 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.5003, allocations: 29.03 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.5003, allocations: 36.31 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.501, allocations: 313.4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.501, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.501, allocations: 15.98 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.501, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/0.5015, allocations: 226.5 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.5032, allocations: 0.8944 MB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.5037, allocations: 236.6 kB / 1.333 GB, free: 9.984 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.504, allocations: 105.2 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.504, allocations: 4.234 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003271/0.5043, allocations: 151.5 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.883e-06/0.5043, allocations: 0 / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.00082/0.5052, allocations: 334.7 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.104e-05/0.5053, allocations: 59.41 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.5055, allocations: 207.1 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.5056, allocations: 41.69 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.5058, allocations: 160.8 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.948e-05/0.5059, allocations: 79.38 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.506, allocations: 81.67 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002422/0.5062, allocations: 342.8 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.5064, allocations: 87.97 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.5067, allocations: 153.7 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.5072, allocations: 221.7 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.5072, allocations: 0 / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000619/0.5078, allocations: 309.1 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.5078, allocations: 4 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.5078, allocations: 4 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.5078, allocations: 0 / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.5081, allocations: 43.91 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.5081, allocations: 7.938 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.5083, allocations: 43.75 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.5083, allocations: 12 kB / 1.336 GB, free: 7.469 MB / 1.029 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.0002603/0.5086, allocations: 181.7 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.5086, allocations: 23.86 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.917e-05/0.5087, allocations: 34.64 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.5087, allocations: 4 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.5087, allocations: 0 / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5087, allocations: 0 / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.5099, allocations: 0.6889 MB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5099, allocations: 0 / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.51, allocations: 31.91 kB / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.51, allocations: 0 / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.51, allocations: 4 kB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.5101, allocations: 4 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5101, allocations: 0 / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/0.5106, allocations: 348.1 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.5107, allocations: 19.8 kB / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.5107, allocations: 8 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.5109, allocations: 27.95 kB / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.511, allocations: 35.89 kB / 1.337 GB, free: 5.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.511, allocations: 15.98 kB / 1.337 GB, free: 5.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001404/0.5111, allocations: 139.1 kB / 1.337 GB, free: 5.844 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5111, allocations: 4 kB / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003094/0.5115, allocations: 63.88 kB / 1.337 GB, free: 5.777 MB / 1.029 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.000167/0.5116, allocations: 112.9 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005153/0.5121, allocations: 228.5 kB / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5121, allocations: 4.312 kB / 1.338 GB, free: 5.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.5124, allocations: 119.8 kB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.5127, allocations: 35.86 kB / 1.338 GB, free: 5.277 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009265/0.5137, allocations: 464.3 kB / 1.338 GB, free: 4.797 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.5141, allocations: 0.7596 MB / 1.339 GB, free: 4.012 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000106/0.5142, allocations: 34.27 kB / 1.339 GB, free: 3.973 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.439e-05/0.5143, allocations: 27.42 kB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of SimCode: time 4.8e-07/0.5143, allocations: 0 / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of Templates: time 0.007948/0.5223, allocations: 2.981 MB / 1.342 GB, free: 0.9883 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.950407355092466]