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.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.001035/0.001035, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001239/0.001239, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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 0.9755/0.9755, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.105/2.105, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.533e-06/1.533e-06, allocations: 0 / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.864e-05, allocations: 10.47 kB / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003545/0.003574, allocations: 2.074 MB / 0.8814 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.005059, allocations: 0.7697 MB / 0.8822 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.005238, allocations: 9.062 kB / 0.8822 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.005403, allocations: 35.55 kB / 0.8822 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.005528, allocations: 48.55 kB / 0.8822 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006161/0.006145, allocations: 180.8 kB / 0.8824 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.00666, allocations: 415.1 kB / 0.8828 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005268/0.007187, allocations: 207 kB / 0.883 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003482/0.007535, allocations: 215.6 kB / 0.8832 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.007731, allocations: 108.8 kB / 0.8833 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.008834, allocations: 40 kB / 0.8834 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.00897, allocations: 55.91 kB / 0.8834 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.126e-05/0.009051, allocations: 75.75 kB / 0.8835 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.00916, allocations: 104.8 kB / 0.8836 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.009555, allocations: 267 kB / 0.8838 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.009559, allocations: 0 / 0.8838 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.362e-06/0.00956, allocations: 0.6562 kB / 0.8838 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.009565, allocations: 0.7812 kB / 0.8838 GB, free: 1.484 MB / 0.8386 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.0006585/0.01022, allocations: 0.614 MB / 0.8844 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.01026, allocations: 12.03 kB / 0.8844 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.01053, allocations: 86.3 kB / 0.8845 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.01076, allocations: 216.1 kB / 0.8847 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.01079, allocations: 25.03 kB / 0.8848 GB, free: 488 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.01082, allocations: 39.36 kB / 0.8848 GB, free: 452 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.01109, allocations: 232 kB / 0.885 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.0111, allocations: 192 / 0.885 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.01112, allocations: 8.375 kB / 0.885 GB, free: 196 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.01113, allocations: 11.94 kB / 0.885 GB, free: 184 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.01125, allocations: 88.44 kB / 0.8851 GB, free: 92 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008267/0.01207, allocations: 0.8015 MB / 0.8859 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.01229, allocations: 145.4 kB / 0.886 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.219e-05/0.01235, allocations: 64.06 kB / 0.8861 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.01237, allocations: 5.891 kB / 0.8861 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.01249, allocations: 110.2 kB / 0.8862 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.0125, allocations: 0 / 0.8862 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.0002988/0.01279, allocations: 213.9 kB / 0.8864 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.01283, allocations: 60.31 kB / 0.8865 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.01297, allocations: 259.5 kB / 0.8867 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.01299, allocations: 42.33 kB / 0.8868 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.331e-05/0.01309, allocations: 203.5 kB / 0.887 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.01313, allocations: 83.36 kB / 0.887 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.338e-05/0.01322, allocations: 91.27 kB / 0.8871 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.01334, allocations: 0.504 MB / 0.8876 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.01339, allocations: 31.97 kB / 0.8876 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.822e-05/0.01348, allocations: 106.8 kB / 0.8877 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.01362, allocations: 159.8 kB / 0.8879 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01362, allocations: 0 / 0.8879 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002255/0.01385, allocations: 220.9 kB / 0.8881 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.01386, allocations: 4 kB / 0.8881 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.01387, allocations: 0 / 0.8881 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.01388, allocations: 7.938 kB / 0.8881 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.014, allocations: 39.91 kB / 0.8882 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.014, allocations: 7.984 kB / 0.8882 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.012e-05/0.01408, allocations: 39.92 kB / 0.8882 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.01409, allocations: 12 kB / 0.8882 GB, free: 12.73 MB / 0.8542 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.suspend,heaCon.stateGraphRoot.resume) * 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.0001076/0.0142, allocations: 184.5 kB / 0.8884 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.01423, allocations: 31.86 kB / 0.8884 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.01428, allocations: 34.64 kB / 0.8885 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01428, allocations: 7.938 kB / 0.8885 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01428, allocations: 3.938 kB / 0.8885 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.01429, allocations: 0 / 0.8885 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.01479, allocations: 0.5372 MB / 0.889 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01479, allocations: 0 / 0.889 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.998e-05/0.01486, allocations: 23.98 kB / 0.889 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01486, allocations: 3.938 kB / 0.889 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.01487, allocations: 8 kB / 0.889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01488, allocations: 0 / 0.889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01488, allocations: 0 / 0.889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.01509, allocations: 333.9 kB / 0.8893 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.01511, allocations: 23.78 kB / 0.8894 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.01513, allocations: 4 kB / 0.8894 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.01521, allocations: 27.97 kB / 0.8894 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.01527, allocations: 35.92 kB / 0.8894 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.01528, allocations: 4 kB / 0.8894 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.053e-05/0.01534, allocations: 165.1 kB / 0.8896 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01534, allocations: 0 / 0.8896 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001994/0.01554, allocations: 63.84 kB / 0.8897 GB, free: 11.2 MB / 0.8542 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.00011/0.01565, allocations: 115.7 kB / 0.8898 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001893/0.01584, allocations: 148.5 kB / 0.8899 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01584, allocations: 4 kB / 0.8899 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.499e-05/0.01593, allocations: 79.56 kB / 0.89 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.01617, allocations: 44.78 kB / 0.89 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006396/0.01681, allocations: 441.6 kB / 0.8905 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.59e-05/0.01687, allocations: 88.33 kB / 0.8905 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.843e-05/0.01693, allocations: 22.28 kB / 0.8906 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.01705, allocations: 118.2 kB / 0.8907 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of SimCode: time 8.22e-07/0.01705, allocations: 0 / 0.8907 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.004861/0.02191, allocations: 3.223 MB / 0.8938 GB, free: 6.934 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4214292308315635]