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.002111/0.002111, allocations: 79.75 kB / 20.23 MB, free: 4.168 MB / 18.57 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.002374/0.002374, allocations: 157.4 kB / 23.55 MB, free: 0.8555 MB / 18.57 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.559/1.559, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.109/3.109, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.529e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003684/0.003709, allocations: 2.067 MB / 0.8128 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.005282, allocations: 0.7729 MB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.005416, allocations: 9.344 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.005581, allocations: 31.61 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.005715, allocations: 48.59 kB / 0.8137 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.006246, allocations: 184.3 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007724/0.007018, allocations: 411.1 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.007383, allocations: 218 kB / 0.8144 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/0.007735, allocations: 208.5 kB / 0.8146 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.007938, allocations: 107.7 kB / 0.8147 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.969e-05/0.008008, allocations: 41.25 kB / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.008115, allocations: 48 kB / 0.8148 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.008221, allocations: 79.72 kB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.008372, allocations: 105.7 kB / 0.815 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005737/0.008946, allocations: 450.5 kB / 0.8154 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.008949, allocations: 0 / 0.8154 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00895, allocations: 0 / 0.8154 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.008956, allocations: 0 / 0.8154 GB, free: 13.37 MB / 0.7761 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.001031/0.009987, allocations: 0.6252 MB / 0.816 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.01002, allocations: 9.562 kB / 0.816 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004592/0.01048, allocations: 80.72 kB / 0.8161 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.01085, allocations: 225 kB / 0.8163 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.01089, allocations: 25.03 kB / 0.8164 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.01094, allocations: 32.38 kB / 0.8164 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.01158, allocations: 328 kB / 0.8167 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.01159, allocations: 0.8125 kB / 0.8167 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.01163, allocations: 12.38 kB / 0.8167 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.01164, allocations: 16.61 kB / 0.8167 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/0.01214, allocations: 211.1 kB / 0.8169 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.01378, allocations: 0.9716 MB / 0.8179 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005477/0.01433, allocations: 239.1 kB / 0.8181 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.01456, allocations: 104.1 kB / 0.8182 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.01459, allocations: 5.359 kB / 0.8182 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003357/0.01493, allocations: 161.2 kB / 0.8184 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.01493, allocations: 0 / 0.8184 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.0007804/0.01571, allocations: 331.7 kB / 0.8187 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.01577, allocations: 59.41 kB / 0.8187 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.01608, allocations: 301.4 kB / 0.819 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.01613, allocations: 41.69 kB / 0.8191 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.0163, allocations: 211.5 kB / 0.8193 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.918e-05/0.0164, allocations: 87.38 kB / 0.8194 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.01658, allocations: 123.3 kB / 0.8195 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002948/0.01688, allocations: 0.5215 MB / 0.82 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.0171, allocations: 87.95 kB / 0.8201 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.0174, allocations: 178.7 kB / 0.8202 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.01784, allocations: 243.9 kB / 0.8205 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01784, allocations: 0 / 0.8205 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006163/0.01846, allocations: 301.1 kB / 0.8208 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.01848, allocations: 8 kB / 0.8208 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.01849, allocations: 3.938 kB / 0.8208 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.01851, allocations: 8.609 kB / 0.8208 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.01872, allocations: 44.41 kB / 0.8208 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.01872, allocations: 5.5 kB / 0.8208 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.0189, allocations: 35.83 kB / 0.8209 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.01892, allocations: 12 kB / 0.8209 GB, free: 7.539 MB / 0.7761 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.000275/0.0192, allocations: 223 kB / 0.8211 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.01925, allocations: 27.91 kB / 0.8211 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.905e-05/0.01934, allocations: 34.59 kB / 0.8211 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.01935, allocations: 7.984 kB / 0.8211 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.01936, allocations: 0 / 0.8211 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.01936, allocations: 0.8125 kB / 0.8211 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.02052, allocations: 0.7025 MB / 0.8218 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.02053, allocations: 4 kB / 0.8218 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.02067, allocations: 25.33 kB / 0.8219 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.02067, allocations: 4 kB / 0.8219 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.02069, allocations: 4 kB / 0.8219 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.02069, allocations: 0 / 0.8219 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.0207, allocations: 4.766 kB / 0.8219 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.0213, allocations: 418.4 kB / 0.8223 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.02133, allocations: 23.8 kB / 0.8223 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.02137, allocations: 8 kB / 0.8223 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.02153, allocations: 19.97 kB / 0.8223 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.02165, allocations: 43.41 kB / 0.8224 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.02167, allocations: 11.98 kB / 0.8224 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001482/0.02182, allocations: 172 kB / 0.8225 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02182, allocations: 4 kB / 0.8225 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003163/0.02214, allocations: 59.89 kB / 0.8226 GB, free: 5.707 MB / 0.7761 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.0001474/0.02228, allocations: 117.2 kB / 0.8227 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005471/0.02283, allocations: 253.5 kB / 0.823 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.02283, allocations: 0 / 0.823 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.0231, allocations: 128.1 kB / 0.8231 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.02348, allocations: 55.86 kB / 0.8231 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009149/0.02439, allocations: 476.7 kB / 0.8236 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.02456, allocations: 154.3 kB / 0.8237 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.02468, allocations: 28.72 kB / 0.8238 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.02477, allocations: 25.16 kB / 0.8238 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.02477, allocations: 4 kB / 0.8238 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of Templates: time 0.007809/0.03258, allocations: 2.895 MB / 0.8266 GB, free: 1.613 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 240] 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: 8.181562558980659]