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.001729/0.001729, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.00228/0.00228, allocations: 217.8 kB / 23.04 MB, free: 4.863 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.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.298/3.298, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.00203/0.00203, allocations: 66.33 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4242, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003779/0.428, allocations: 2.003 MB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.4296, allocations: 0.7559 MB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.4297, allocations: 11.94 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.4299, allocations: 35.53 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.43, allocations: 43.53 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.4306, allocations: 183.7 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.4311, allocations: 407.2 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003576/0.4314, allocations: 204.2 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.4317, allocations: 143.5 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.4319, allocations: 131.3 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.529e-05/0.4319, allocations: 40 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.432, allocations: 48 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.87e-05/0.4321, allocations: 87.69 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.4323, allocations: 123.4 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000536/0.4328, allocations: 430.3 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.4328, allocations: 3.984 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4328, allocations: 0 / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.4328, allocations: 0 / 1.332 GB, free: 12.37 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.0009402/0.4337, allocations: 0.5051 MB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4338, allocations: 12.03 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004624/0.4343, allocations: 64.7 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.4347, allocations: 226.5 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.4347, allocations: 25.02 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.4348, allocations: 32.38 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/0.4353, allocations: 317.3 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4354, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.4354, allocations: 8 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.4354, allocations: 11.94 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/0.4359, allocations: 238.5 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.4373, allocations: 0.7545 MB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/0.4378, allocations: 227.5 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.438, allocations: 97.3 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.4381, allocations: 12.22 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002999/0.4384, allocations: 155.5 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.814e-06/0.4384, allocations: 0 / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0007305/0.4391, allocations: 330.7 kB / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.4392, allocations: 55.41 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.4394, allocations: 203.1 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.4394, allocations: 41.7 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.4396, allocations: 164.7 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-05/0.4396, allocations: 79.38 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.4398, allocations: 77.69 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.44, allocations: 330.8 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.4402, allocations: 95.95 kB / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.4404, allocations: 149.7 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.4408, allocations: 229.1 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4408, allocations: 0 / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005476/0.4414, allocations: 296.8 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4414, allocations: 11.94 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4414, allocations: 0 / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.4414, allocations: 8.156 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.4417, allocations: 47.89 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.4417, allocations: 0 / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.4419, allocations: 51.75 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.4419, allocations: 11.98 kB / 1.336 GB, free: 7.344 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.0002011/0.4421, allocations: 169.7 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.4421, allocations: 23.8 kB / 1.337 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.245e-05/0.4422, allocations: 34.64 kB / 1.337 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.4422, allocations: 4 kB / 1.337 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.4422, allocations: 3.938 kB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4422, allocations: 0 / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.4432, allocations: 0.6036 MB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.4432, allocations: 0 / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.4434, allocations: 27.98 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.4434, allocations: 4 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.4434, allocations: 11.98 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4434, allocations: 0 / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.4434, allocations: 4 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.4439, allocations: 344.1 kB / 1.338 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.444, allocations: 19.8 kB / 1.338 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.444, allocations: 8 kB / 1.338 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.4442, allocations: 27.97 kB / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.4443, allocations: 39.92 kB / 1.338 GB, free: 5.973 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.4443, allocations: 12 kB / 1.338 GB, free: 5.961 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001141/0.4444, allocations: 132.1 kB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4444, allocations: 0 / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003208/0.4448, allocations: 63.84 kB / 1.338 GB, free: 5.77 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.0001567/0.4449, allocations: 122.4 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005123/0.4454, allocations: 224.7 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4454, allocations: 4.125 kB / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.4457, allocations: 111.9 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.446, allocations: 40.66 kB / 1.338 GB, free: 5.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008967/0.4469, allocations: 492.3 kB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.4471, allocations: 146.9 kB / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.06e-05/0.4472, allocations: 31.42 kB / 1.339 GB, free: 4.562 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/0.4472, allocations: 4 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of Templates: time 0.005903/0.4531, allocations: 3.297 MB / 1.342 GB, free: 1.27 MB / 1.029 GB " [Timeout remaining time 300] 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/jenkins1/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: 12.306919425027445]