Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001816/0.001816, allocations: 110 kB / 18.93 MB, free: 2.945 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.002638/0.002638, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.511/1.511, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 443.5 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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_10_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_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 63.89 kB / 1.061 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.079, allocations: 160.8 MB / 1.218 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004401/1.083, allocations: 2.058 MB / 1.22 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0018/1.085, allocations: 0.7186 MB / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/1.085, allocations: 4.281 kB / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001863/1.085, allocations: 38.7 kB / 1.221 GB, free: 1.398 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/1.085, allocations: 44.88 kB / 1.221 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/1.086, allocations: 160.4 kB / 1.221 GB, free: 1.223 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005891/1.087, allocations: 399.3 kB / 1.222 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004315/1.087, allocations: 212.2 kB / 1.222 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/1.087, allocations: 137.1 kB / 1.222 GB, free: 0.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/1.088, allocations: 158.3 kB / 1.222 GB, free: 0.625 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.758e-05/1.088, allocations: 38.97 kB / 1.222 GB, free: 0.625 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/1.088, allocations: 46.34 kB / 1.222 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/1.088, allocations: 86.88 kB / 1.222 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/1.088, allocations: 153.3 kB / 1.223 GB, free: 436 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006182/1.089, allocations: 422.8 kB / 1.223 GB, free: 104 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/1.089, allocations: 1.156 kB / 1.223 GB, free: 104 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/1.089, allocations: 0 / 1.223 GB, free: 104 kB / 0.92 GB Notification: Performance of Transformations before backend: time 8.295e-06/1.089, allocations: 0 / 1.223 GB, free: 104 kB / 0.92 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.001159/1.09, allocations: 0.5839 MB / 1.224 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.09, allocations: 9.688 kB / 1.224 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.079e-05/1.09, allocations: 33.62 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/1.091, allocations: 276.1 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/1.091, allocations: 21.88 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/1.091, allocations: 32.62 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007354/1.091, allocations: 331 kB / 1.224 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/1.091, allocations: 0 / 1.224 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/1.091, allocations: 15.34 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/1.091, allocations: 6.5 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000579/1.092, allocations: 230.2 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/1.094, allocations: 0.9319 MB / 1.225 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/1.094, allocations: 229.5 kB / 1.226 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/1.095, allocations: 111.4 kB / 1.226 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/1.095, allocations: 3.359 kB / 1.226 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003427/1.095, allocations: 154 kB / 1.226 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/1.095, allocations: 0 / 1.226 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.0008089/1.096, allocations: 333.4 kB / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/1.096, allocations: 55.72 kB / 1.226 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/1.096, allocations: 201.8 kB / 1.226 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/1.096, allocations: 43 kB / 1.226 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/1.096, allocations: 157.3 kB / 1.227 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.603e-05/1.096, allocations: 78.31 kB / 1.227 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/1.097, allocations: 81.3 kB / 1.227 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001796/1.097, allocations: 336.1 kB / 1.227 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/1.097, allocations: 101.9 kB / 1.227 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/1.097, allocations: 141.7 kB / 1.227 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/1.098, allocations: 211.5 kB / 1.228 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/1.098, allocations: 1.125 kB / 1.228 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006239/1.098, allocations: 322.7 kB / 1.228 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/1.098, allocations: 6.281 kB / 1.228 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.098, allocations: 1.125 kB / 1.228 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/1.098, allocations: 8.094 kB / 1.228 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/1.099, allocations: 41.56 kB / 1.228 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/1.099, allocations: 2.844 kB / 1.228 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/1.099, allocations: 49.81 kB / 1.228 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/1.099, allocations: 21.53 kB / 1.228 GB, free: 12.26 MB / 0.9356 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.0002124/1.099, allocations: 173.4 kB / 1.228 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/1.099, allocations: 21.2 kB / 1.228 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006281/1.1, allocations: 277.4 kB / 1.228 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/1.1, allocations: 6.562 kB / 1.228 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.1, allocations: 1.312 kB / 1.228 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/1.1, allocations: 3.984 kB / 1.228 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/1.101, allocations: 0.7292 MB / 1.229 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.101, allocations: 0 / 1.229 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/1.101, allocations: 36.78 kB / 1.229 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/1.101, allocations: 1.344 kB / 1.229 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/1.101, allocations: 1.156 kB / 1.229 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/1.101, allocations: 1.125 kB / 1.229 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.101, allocations: 1.188 kB / 1.229 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/1.102, allocations: 357.2 kB / 1.23 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.953e-05/1.102, allocations: 106.6 kB / 1.23 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/1.102, allocations: 6.312 kB / 1.23 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/1.102, allocations: 25.62 kB / 1.23 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/1.102, allocations: 43.84 kB / 1.23 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/1.102, allocations: 14.38 kB / 1.23 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001317/1.102, allocations: 142.7 kB / 1.23 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.102, allocations: 0 / 1.23 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003433/1.103, allocations: 70.34 kB / 1.23 GB, free: 10.79 MB / 0.9356 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.0002201/1.103, allocations: 122.2 kB / 1.23 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005964/1.104, allocations: 237 kB / 1.23 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.104, allocations: 0 / 1.23 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002895/1.104, allocations: 116.1 kB / 1.23 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/1.104, allocations: 41.89 kB / 1.23 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/1.105, allocations: 469.7 kB / 1.231 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/1.106, allocations: 0.7643 MB / 1.232 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001061/1.106, allocations: 30.28 kB / 1.232 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/1.106, allocations: 23.44 kB / 1.232 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/1.106, allocations: 3.938 kB / 1.232 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of Templates: time 0.007857/1.114, allocations: 3.218 MB / 1.235 GB, free: 6.086 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.513141562230885]