Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001609/0.001609, allocations: 110.2 kB / 19.69 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.001976/0.001976, allocations: 216.5 kB / 23.01 MB, free: 4.566 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.624/1.624, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.904/2.904, allocations: 476.7 MB / 0.7714 GB, free: 4.234 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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_11_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_11_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.002021/0.002021, allocations: 69.28 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.411, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003713/0.4147, allocations: 2.084 MB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.4163, allocations: 0.7948 MB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.4164, allocations: 7.938 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.4166, allocations: 35.61 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.4167, allocations: 43.58 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.4172, allocations: 183.7 kB / 1.288 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004744/0.4177, allocations: 411.1 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003563/0.418, allocations: 212.3 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.4183, allocations: 139.6 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.4185, allocations: 147.3 kB / 1.289 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.111e-05/0.4186, allocations: 36 kB / 1.289 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.4187, allocations: 51.98 kB / 1.289 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.142e-05/0.4188, allocations: 91.73 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.4189, allocations: 151.3 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000536/0.4195, allocations: 430.3 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4195, allocations: 4 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4195, allocations: 0 / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.4195, allocations: 0 / 1.289 GB, free: 6.41 MB / 0.9825 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.0009726/0.4204, allocations: 0.5128 MB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.4205, allocations: 8.031 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004209/0.4209, allocations: 64.7 kB / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.4213, allocations: 214.6 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.4214, allocations: 29.02 kB / 1.29 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.107e-05/0.4214, allocations: 28.38 kB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/0.422, allocations: 313.4 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.422, allocations: 4 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.4221, allocations: 12 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.4221, allocations: 8 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005001/0.4226, allocations: 238.4 kB / 1.291 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.4241, allocations: 0.8944 MB / 1.292 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.4246, allocations: 221.9 kB / 1.292 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.4249, allocations: 109.2 kB / 1.292 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.4249, allocations: 4.219 kB / 1.292 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.4252, allocations: 156.8 kB / 1.292 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.114e-06/0.4252, allocations: 0 / 1.292 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0007376/0.4259, allocations: 321.9 kB / 1.292 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.426, allocations: 67.34 kB / 1.292 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.4262, allocations: 205.2 kB / 1.293 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.4262, allocations: 41.7 kB / 1.293 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.4264, allocations: 152.8 kB / 1.293 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/0.4264, allocations: 91.31 kB / 1.293 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.4266, allocations: 81.62 kB / 1.293 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4267, allocations: 330.8 kB / 1.293 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.4269, allocations: 103.8 kB / 1.293 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.4272, allocations: 148.8 kB / 1.293 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.4276, allocations: 213.1 kB / 1.294 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4276, allocations: 0 / 1.294 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005818/0.4282, allocations: 308.5 kB / 1.294 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.4282, allocations: 8 kB / 1.294 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4282, allocations: 4.156 kB / 1.294 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4282, allocations: 4 kB / 1.294 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.4284, allocations: 43.84 kB / 1.294 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.4284, allocations: 0 / 1.294 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.4286, allocations: 51.75 kB / 1.294 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.4286, allocations: 8 kB / 1.294 GB, free: 1.246 MB / 0.9825 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.0002032/0.4288, allocations: 177.7 kB / 1.294 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.4289, allocations: 19.86 kB / 1.294 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.32e-05/0.4289, allocations: 26.66 kB / 1.294 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.429, allocations: 4 kB / 1.294 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.429, allocations: 0 / 1.294 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.429, allocations: 11.97 kB / 1.294 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.43, allocations: 0.6772 MB / 1.295 GB, free: 284 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.43, allocations: 4 kB / 1.295 GB, free: 280 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.4302, allocations: 35.91 kB / 1.295 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/0.4302, allocations: 4 kB / 1.295 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.4302, allocations: 4 kB / 1.295 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4302, allocations: 0 / 1.295 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4302, allocations: 4 kB / 1.295 GB, free: 232 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/0.4307, allocations: 341.4 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.4308, allocations: 31.8 kB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.4308, allocations: 8 kB / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.431, allocations: 31.89 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.4311, allocations: 35.89 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.4311, allocations: 7.984 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001145/0.4312, allocations: 135.2 kB / 1.296 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4312, allocations: 0 / 1.296 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003123/0.4316, allocations: 59.89 kB / 1.296 GB, free: 15.57 MB / 0.9981 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.0001514/0.4317, allocations: 121 kB / 1.296 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000533/0.4322, allocations: 237.3 kB / 1.296 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4322, allocations: 3.938 kB / 1.296 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.4325, allocations: 112.1 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.4328, allocations: 35.92 kB / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009154/0.4338, allocations: 492.4 kB / 1.297 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.4342, allocations: 0.7674 MB / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.552e-05/0.4343, allocations: 23.44 kB / 1.297 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.4343, allocations: 0 / 1.297 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of Templates: time 0.005937/0.4402, allocations: 3.287 MB / 1.301 GB, free: 10.46 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.118232949986123]