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.001624/0.001624, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002033/0.002033, allocations: 214.4 kB / 22.24 MB, free: 5.262 MB / 14.72 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 3.524/3.524, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 64.34 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.471, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004444/0.4755, allocations: 1.998 MB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.4772, allocations: 0.7559 MB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.4774, allocations: 7.938 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.4776, allocations: 35.59 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.4777, allocations: 43.53 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.4783, allocations: 183.7 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.4788, allocations: 403.1 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000411/0.4793, allocations: 213.3 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.4795, allocations: 139.5 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.4798, allocations: 135.3 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.609e-05/0.4798, allocations: 36 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.4799, allocations: 52 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.696e-05/0.48, allocations: 79.81 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.4802, allocations: 127.3 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005869/0.4808, allocations: 430.3 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4808, allocations: 0 / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4808, allocations: 0 / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.4808, allocations: 0 / 1.368 GB, free: 8.965 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.000997/0.4818, allocations: 0.509 MB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4819, allocations: 8.031 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004494/0.4823, allocations: 64.72 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.4828, allocations: 222 kB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.4828, allocations: 25.03 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/0.4829, allocations: 32.38 kB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006093/0.4835, allocations: 313.4 kB / 1.369 GB, free: 7.742 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.4835, allocations: 0 / 1.369 GB, free: 7.742 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.4835, allocations: 15.94 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.4835, allocations: 8 kB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.484, allocations: 230.5 kB / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.4855, allocations: 0.7662 MB / 1.37 GB, free: 6.688 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.4861, allocations: 225.5 kB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.4863, allocations: 105.3 kB / 1.371 GB, free: 6.355 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.4864, allocations: 8.219 kB / 1.371 GB, free: 6.348 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/0.4867, allocations: 160 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.4867, allocations: 0 / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.0007533/0.4874, allocations: 329.4 kB / 1.371 GB, free: 5.852 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.4875, allocations: 59.39 kB / 1.371 GB, free: 5.781 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.4877, allocations: 191.1 kB / 1.371 GB, free: 5.582 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.4878, allocations: 49.69 kB / 1.372 GB, free: 5.527 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.4879, allocations: 156.8 kB / 1.372 GB, free: 5.367 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.257e-05/0.488, allocations: 79.38 kB / 1.372 GB, free: 5.289 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.4881, allocations: 81.67 kB / 1.372 GB, free: 5.203 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.4883, allocations: 334.8 kB / 1.372 GB, free: 4.867 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.4886, allocations: 91.95 kB / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.4888, allocations: 149.8 kB / 1.372 GB, free: 4.613 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.4892, allocations: 216.8 kB / 1.373 GB, free: 4.383 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.4892, allocations: 4 kB / 1.373 GB, free: 4.379 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000571/0.4898, allocations: 308.5 kB / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4898, allocations: 7.938 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4898, allocations: 8.156 kB / 1.373 GB, free: 4.055 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.4898, allocations: 4 kB / 1.373 GB, free: 4.051 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.49, allocations: 39.91 kB / 1.373 GB, free: 4.012 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.4901, allocations: 4 kB / 1.373 GB, free: 4.008 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.4903, allocations: 39.8 kB / 1.373 GB, free: 3.969 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.4903, allocations: 16 kB / 1.373 GB, free: 3.953 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.0002235/0.4905, allocations: 177.8 kB / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.4905, allocations: 23.8 kB / 1.373 GB, free: 3.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.551e-05/0.4906, allocations: 30.64 kB / 1.373 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.4906, allocations: 4 kB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4906, allocations: 0 / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4906, allocations: 0 / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.4917, allocations: 0.6036 MB / 1.374 GB, free: 3.078 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4917, allocations: 3.938 kB / 1.374 GB, free: 3.074 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.4918, allocations: 31.92 kB / 1.374 GB, free: 3.043 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.4918, allocations: 7.984 kB / 1.374 GB, free: 3.035 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.4918, allocations: 4 kB / 1.374 GB, free: 3.031 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4918, allocations: 3.984 kB / 1.374 GB, free: 3.027 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4918, allocations: 0 / 1.374 GB, free: 3.027 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.4924, allocations: 357.3 kB / 1.374 GB, free: 2.664 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.4924, allocations: 27.78 kB / 1.374 GB, free: 2.637 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.4925, allocations: 8 kB / 1.374 GB, free: 2.629 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.4927, allocations: 23.97 kB / 1.374 GB, free: 2.605 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.4928, allocations: 39.94 kB / 1.374 GB, free: 2.566 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.4928, allocations: 4 kB / 1.374 GB, free: 2.562 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001236/0.4929, allocations: 133.2 kB / 1.374 GB, free: 2.434 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4929, allocations: 0 / 1.374 GB, free: 2.434 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003059/0.4932, allocations: 59.89 kB / 1.374 GB, free: 2.375 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: 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.0001596/0.4934, allocations: 116.9 kB / 1.375 GB, free: 2.254 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005231/0.4939, allocations: 231.9 kB / 1.375 GB, free: 2.027 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4939, allocations: 0 / 1.375 GB, free: 2.027 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.4941, allocations: 111.9 kB / 1.375 GB, free: 1.918 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.4945, allocations: 37.89 kB / 1.375 GB, free: 1.883 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009476/0.4954, allocations: 470.6 kB / 1.375 GB, free: 1.395 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.4956, allocations: 151.1 kB / 1.376 GB, free: 1.227 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.4957, allocations: 26.28 kB / 1.376 GB, free: 1.199 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.4958, allocations: 27.42 kB / 1.376 GB, free: 1.172 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4958, allocations: 0 / 1.376 GB, free: 1.172 MB / 1.061 GB Notification: Performance of Templates: time 0.007759/0.5036, allocations: 3.033 MB / 1.379 GB, free: 14.19 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 800] 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: 10.187352672219276]