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.002136/0.002136, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001619/0.001619, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.458/1.458, 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 2.862/2.862, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.174e-06/2.174e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.441e-05/3.659e-05, allocations: 3.312 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.005053/0.00509, allocations: 2.013 MB / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002148/0.007238, allocations: 0.758 MB / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.007403, allocations: 8.531 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.007606, allocations: 36.48 kB / 0.8136 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.007785, allocations: 48.48 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007412/0.008526, allocations: 184.6 kB / 0.8138 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000736/0.009262, allocations: 407.1 kB / 0.8142 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004907/0.009753, allocations: 214.9 kB / 0.8144 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004825/0.01024, allocations: 211.6 kB / 0.8146 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.0105, allocations: 111.7 kB / 0.8147 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.059e-05/0.01058, allocations: 37.53 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.01072, allocations: 44 kB / 0.8148 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.01085, allocations: 83.73 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.01104, allocations: 107.7 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008134/0.01185, allocations: 448.1 kB / 0.8154 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.01186, allocations: 0 / 0.8154 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.372e-06/0.01186, allocations: 0 / 0.8154 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.01187, allocations: 0 / 0.8154 GB, free: 13.45 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.001302/0.01317, allocations: 0.5067 MB / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.01321, allocations: 8.031 kB / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006909/0.01391, allocations: 85.2 kB / 0.8159 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.01449, allocations: 220 kB / 0.8162 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/0.01454, allocations: 25.03 kB / 0.8162 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.8e-05/0.01462, allocations: 33.53 kB / 0.8162 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009414/0.01556, allocations: 313.6 kB / 0.8165 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.01558, allocations: 192 / 0.8165 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.01563, allocations: 17.69 kB / 0.8165 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/0.01567, allocations: 11.94 kB / 0.8165 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008023/0.01647, allocations: 228.2 kB / 0.8168 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.01865, allocations: 0.767 MB / 0.8175 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007952/0.01945, allocations: 216.5 kB / 0.8177 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.01979, allocations: 106.3 kB / 0.8178 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.01983, allocations: 4.234 kB / 0.8178 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004877/0.02031, allocations: 161.4 kB / 0.818 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 3.297e-06/0.02032, allocations: 0 / 0.818 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.001159/0.02148, allocations: 337 kB / 0.8183 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.701e-05/0.02155, allocations: 63.39 kB / 0.8184 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.02187, allocations: 196.3 kB / 0.8185 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/0.02193, allocations: 41.69 kB / 0.8186 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.02212, allocations: 156.8 kB / 0.8187 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.02224, allocations: 83.31 kB / 0.8188 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.02244, allocations: 85.61 kB / 0.8189 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000244/0.02268, allocations: 335.3 kB / 0.8192 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.02303, allocations: 92.69 kB / 0.8193 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/0.02343, allocations: 150.2 kB / 0.8194 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/0.02407, allocations: 213.1 kB / 0.8196 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.02407, allocations: 0 / 0.8196 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009492/0.02502, allocations: 319.9 kB / 0.8199 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.02504, allocations: 8 kB / 0.82 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.02505, allocations: 3.938 kB / 0.82 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.02508, allocations: 4 kB / 0.82 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.0254, allocations: 50.62 kB / 0.82 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.02541, allocations: 4 kB / 0.82 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.02574, allocations: 43.81 kB / 0.8201 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.02578, allocations: 15.98 kB / 0.8201 GB, free: 8.426 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.0002805/0.02606, allocations: 171.3 kB / 0.8202 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.581e-05/0.02615, allocations: 27.91 kB / 0.8203 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.02625, allocations: 34.58 kB / 0.8203 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.02626, allocations: 9 kB / 0.8203 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.02626, allocations: 0 / 0.8203 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.02627, allocations: 0 / 0.8203 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.02786, allocations: 0.6058 MB / 0.8209 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.02786, allocations: 0.7188 kB / 0.8209 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.02808, allocations: 31.92 kB / 0.8209 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.02808, allocations: 1.875 kB / 0.8209 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.02811, allocations: 4 kB / 0.8209 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.02811, allocations: 0 / 0.8209 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.02812, allocations: 3.984 kB / 0.8209 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008335/0.02895, allocations: 353.6 kB / 0.8213 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.02901, allocations: 27.78 kB / 0.8213 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.02905, allocations: 4 kB / 0.8213 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.02936, allocations: 29 kB / 0.8213 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.02952, allocations: 40.59 kB / 0.8214 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.02956, allocations: 11.98 kB / 0.8214 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001764/0.02974, allocations: 128.7 kB / 0.8215 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02974, allocations: 0 / 0.8215 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000584/0.03032, allocations: 71.52 kB / 0.8216 GB, free: 6.844 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.0001899/0.03051, allocations: 109.2 kB / 0.8217 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007995/0.03131, allocations: 231.8 kB / 0.8219 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.03132, allocations: 4 kB / 0.8219 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.03169, allocations: 113.3 kB / 0.822 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/0.0323, allocations: 58.48 kB / 0.8221 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.03361, allocations: 462 kB / 0.8225 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.03386, allocations: 153.4 kB / 0.8227 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001678/0.03403, allocations: 25.2 kB / 0.8227 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.03417, allocations: 32.48 kB / 0.8227 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.03417, allocations: 0.8438 kB / 0.8227 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of Templates: time 0.01084/0.04501, allocations: 2.88 MB / 0.8255 GB, free: 2.82 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=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: 7.844402983901091]