Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 496.2 MB / 0.7819 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 67.89 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9996/1.002, allocations: 173.6 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002851/1.005, allocations: 2.066 MB / 1.307 GB, free: 31.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000971/1.006, allocations: 0.7098 MB / 1.308 GB, free: 31.49 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/1.006, allocations: 10.72 kB / 1.308 GB, free: 31.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/1.006, allocations: 39.61 kB / 1.308 GB, free: 31.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/1.006, allocations: 37.5 kB / 1.308 GB, free: 31.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/1.006, allocations: 159.3 kB / 1.308 GB, free: 31.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003257/1.007, allocations: 392.5 kB / 1.309 GB, free: 31.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/1.007, allocations: 210.9 kB / 1.309 GB, free: 31.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/1.007, allocations: 129 kB / 1.309 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/1.007, allocations: 149 kB / 1.309 GB, free: 30.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/1.007, allocations: 39.59 kB / 1.309 GB, free: 30.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.012e-05/1.007, allocations: 48.11 kB / 1.309 GB, free: 30.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/1.007, allocations: 80.75 kB / 1.309 GB, free: 30.83 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/1.008, allocations: 152.5 kB / 1.31 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003437/1.008, allocations: 428.9 kB / 1.31 GB, free: 30.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.008, allocations: 0 / 1.31 GB, free: 30.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.502e-06/1.008, allocations: 0 / 1.31 GB, free: 30.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.083e-06/1.008, allocations: 4 kB / 1.31 GB, free: 30.54 MB / 1.061 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.0007552/1.009, allocations: 0.5794 MB / 1.31 GB, free: 30.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/1.009, allocations: 8.75 kB / 1.31 GB, free: 30.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/1.009, allocations: 34.16 kB / 1.311 GB, free: 30.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/1.009, allocations: 268 kB / 1.311 GB, free: 29.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/1.009, allocations: 32.81 kB / 1.311 GB, free: 29.76 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/1.009, allocations: 31 kB / 1.311 GB, free: 29.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/1.01, allocations: 319.7 kB / 1.311 GB, free: 29.6 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/1.01, allocations: 0 / 1.311 GB, free: 29.6 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/1.01, allocations: 10.59 kB / 1.311 GB, free: 29.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/1.01, allocations: 7.625 kB / 1.311 GB, free: 29.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/1.01, allocations: 236 kB / 1.311 GB, free: 29.51 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/1.011, allocations: 0.9361 MB / 1.312 GB, free: 28.87 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/1.012, allocations: 228.5 kB / 1.313 GB, free: 28.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/1.012, allocations: 105.1 kB / 1.313 GB, free: 28.72 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/1.012, allocations: 2.922 kB / 1.313 GB, free: 28.72 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/1.012, allocations: 167.2 kB / 1.313 GB, free: 28.63 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.823e-06/1.012, allocations: 4 kB / 1.313 GB, free: 28.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.00061/1.013, allocations: 321.3 kB / 1.313 GB, free: 28.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/1.013, allocations: 64.53 kB / 1.313 GB, free: 28.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/1.013, allocations: 202.5 kB / 1.313 GB, free: 28.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/1.013, allocations: 36.67 kB / 1.313 GB, free: 28.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/1.013, allocations: 156.5 kB / 1.314 GB, free: 28.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/1.013, allocations: 78.45 kB / 1.314 GB, free: 28.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.521e-05/1.013, allocations: 90.58 kB / 1.314 GB, free: 28.01 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.82e-05/1.013, allocations: 335.4 kB / 1.314 GB, free: 27.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/1.013, allocations: 93.22 kB / 1.314 GB, free: 27.65 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/1.014, allocations: 147.2 kB / 1.314 GB, free: 27.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/1.014, allocations: 218.1 kB / 1.314 GB, free: 27.44 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.014, allocations: 0 / 1.314 GB, free: 27.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004465/1.014, allocations: 315.9 kB / 1.315 GB, free: 27.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.014, allocations: 5.812 kB / 1.315 GB, free: 27.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.014, allocations: 0 / 1.315 GB, free: 27.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.014, allocations: 2.906 kB / 1.315 GB, free: 27.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/1.015, allocations: 40.72 kB / 1.315 GB, free: 27.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/1.015, allocations: 9.562 kB / 1.315 GB, free: 27.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/1.015, allocations: 54.11 kB / 1.315 GB, free: 27.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/1.015, allocations: 11.95 kB / 1.315 GB, free: 27.26 MB / 1.061 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.0001228/1.015, allocations: 173.7 kB / 1.315 GB, free: 27.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/1.015, allocations: 20.61 kB / 1.315 GB, free: 27.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000475/1.015, allocations: 275.3 kB / 1.315 GB, free: 26.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/1.015, allocations: 2.812 kB / 1.315 GB, free: 26.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.015, allocations: 4 kB / 1.315 GB, free: 26.97 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.015, allocations: 3.469 kB / 1.315 GB, free: 26.97 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008109/1.016, allocations: 0.7271 MB / 1.316 GB, free: 26.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.016, allocations: 0 / 1.316 GB, free: 26.49 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/1.016, allocations: 32.59 kB / 1.316 GB, free: 26.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/1.016, allocations: 5.844 kB / 1.316 GB, free: 26.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/1.016, allocations: 4 kB / 1.316 GB, free: 26.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.016, allocations: 6.656 kB / 1.316 GB, free: 26.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.016, allocations: 0 / 1.316 GB, free: 26.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/1.017, allocations: 362.9 kB / 1.316 GB, free: 26.26 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/1.017, allocations: 103.2 kB / 1.317 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/1.017, allocations: 6.688 kB / 1.317 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/1.017, allocations: 31.11 kB / 1.317 GB, free: 26.13 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.017, allocations: 42.44 kB / 1.317 GB, free: 26.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/1.017, allocations: 8.906 kB / 1.317 GB, free: 26.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.288e-05/1.017, allocations: 138.4 kB / 1.317 GB, free: 26.02 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.017, allocations: 0 / 1.317 GB, free: 26.02 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003041/1.018, allocations: 71.7 kB / 1.317 GB, free: 26 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$cse1,$cse2,$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 (32): * Single equations (assignments): 28 * 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.0001345/1.018, allocations: 116.9 kB / 1.317 GB, free: 25.9 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004404/1.018, allocations: 236.3 kB / 1.317 GB, free: 25.83 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.018, allocations: 0 / 1.317 GB, free: 25.83 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00021/1.018, allocations: 114.6 kB / 1.317 GB, free: 25.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/1.019, allocations: 40.12 kB / 1.317 GB, free: 25.78 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000696/1.019, allocations: 490.4 kB / 1.318 GB, free: 25.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/1.02, allocations: 0.759 MB / 1.319 GB, free: 24.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.955e-05/1.02, allocations: 24.44 kB / 1.319 GB, free: 24.76 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/1.02, allocations: 30.25 kB / 1.319 GB, free: 24.75 MB / 1.061 GB Notification: Performance of SimCode: time 6.02e-07/1.02, allocations: 2.906 kB / 1.319 GB, free: 24.75 MB / 1.061 GB Notification: Performance of Templates: time 0.006241/1.026, allocations: 3.147 MB / 1.322 GB, free: 24.5 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.242116378620267]