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.00184/0.00184, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002241/0.002241, allocations: 210.1 kB / 22.99 MB, free: 4.984 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.096/3.096, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 177] 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.00202/0.00202, allocations: 65.03 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3026, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003375/0.306, allocations: 2.007 MB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3074, allocations: 0.7636 MB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.3075, allocations: 7.938 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.3076, allocations: 35.61 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.3077, allocations: 43.59 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.3082, allocations: 187.7 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004687/0.3087, allocations: 407.1 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.309, allocations: 196.4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.3092, allocations: 143.5 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.3094, allocations: 151.3 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.882e-05/0.3095, allocations: 40 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.339e-05/0.3096, allocations: 44 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.802e-05/0.3097, allocations: 87.73 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.3098, allocations: 123.5 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004796/0.3103, allocations: 430.3 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3103, allocations: 8 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3103, allocations: 0 / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3103, allocations: 0 / 1.332 GB, free: 12.36 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.0008841/0.3112, allocations: 0.5107 MB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3112, allocations: 12.03 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004464/0.3117, allocations: 60.7 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.3121, allocations: 226.5 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.3121, allocations: 29.03 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.3121, allocations: 28.38 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006159/0.3128, allocations: 313.4 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3128, allocations: 0 / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.3128, allocations: 15.98 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.3128, allocations: 8 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004948/0.3133, allocations: 234.4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.3147, allocations: 0.7662 MB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.3152, allocations: 234.2 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.3154, allocations: 105.3 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.3154, allocations: 4.234 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002948/0.3157, allocations: 151.5 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.3157, allocations: 0 / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.000724/0.3164, allocations: 330.7 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.3165, allocations: 59.34 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.3167, allocations: 207.1 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.3167, allocations: 37.7 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.3168, allocations: 156.8 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.81e-05/0.3169, allocations: 83.36 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.317, allocations: 77.69 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3172, allocations: 330.8 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.3174, allocations: 95.95 kB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.3177, allocations: 157.7 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.3181, allocations: 217.2 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3181, allocations: 0 / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005669/0.3186, allocations: 308.8 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3186, allocations: 8 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3186, allocations: 0 / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3187, allocations: 4 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.3189, allocations: 39.8 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3189, allocations: 4 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.3191, allocations: 51.73 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.3191, allocations: 20.16 kB / 1.336 GB, free: 7.324 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.0001754/0.3193, allocations: 165.8 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.3193, allocations: 27.78 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.05e-05/0.3194, allocations: 26.66 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3194, allocations: 4 kB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3194, allocations: 4 kB / 1.337 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3194, allocations: 3.984 kB / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009911/0.3204, allocations: 0.6075 MB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3204, allocations: 0 / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.3206, allocations: 31.91 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3206, allocations: 0 / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.3206, allocations: 8 kB / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3206, allocations: 0 / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3206, allocations: 0 / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005186/0.3211, allocations: 344.2 kB / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.3212, allocations: 19.8 kB / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.3212, allocations: 12 kB / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.3214, allocations: 31.89 kB / 1.338 GB, free: 5.988 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-05/0.3215, allocations: 35.89 kB / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.3215, allocations: 15.98 kB / 1.338 GB, free: 5.938 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001063/0.3216, allocations: 120.1 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3216, allocations: 0 / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003223/0.322, allocations: 71.84 kB / 1.338 GB, free: 5.75 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.000137/0.3221, allocations: 112.9 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005065/0.3226, allocations: 236.5 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3226, allocations: 0 / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.3228, allocations: 111.8 kB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3232, allocations: 41.02 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008365/0.324, allocations: 462.7 kB / 1.339 GB, free: 4.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.3242, allocations: 150.9 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.3243, allocations: 26.28 kB / 1.339 GB, free: 4.574 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.3244, allocations: 19.44 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.3244, allocations: 0 / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of Templates: time 0.00707/0.3314, allocations: 3.084 MB / 1.342 GB, free: 1.523 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 -s gbode -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: 8.479612537994399]