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.001695/0.001695, allocations: 113 kB / 16.46 MB, free: 6.453 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.001964/0.001964, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.538/1.538, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.435/3.435, allocations: 0.4899 GB / 0.7916 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002075/0.002075, allocations: 75.19 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4964, allocations: 176.1 MB / 1.321 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004821/0.5013, allocations: 2.074 MB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002018/0.5033, allocations: 0.7909 MB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.5035, allocations: 7.938 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.5037, allocations: 31.61 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.5038, allocations: 47.52 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.5044, allocations: 171.7 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005504/0.505, allocations: 407.1 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.5054, allocations: 211.7 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.5057, allocations: 147.5 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.5059, allocations: 147.4 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.506, allocations: 36 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.5061, allocations: 55.98 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.5062, allocations: 83.73 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.5064, allocations: 159.2 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006561/0.5071, allocations: 430.3 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.5071, allocations: 0 / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.757e-06/0.5071, allocations: 0 / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.5071, allocations: 0 / 1.326 GB, free: 14.03 MB / 1.029 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.001245/0.5084, allocations: 0.5842 MB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/0.5084, allocations: 15.98 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005768/0.509, allocations: 60.7 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006262/0.5096, allocations: 287.8 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.5097, allocations: 24.94 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.78e-05/0.5097, allocations: 28.38 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007272/0.5105, allocations: 312 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.5105, allocations: 11.94 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.5105, allocations: 8 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.5105, allocations: 8 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/0.5111, allocations: 234.1 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.513, allocations: 0.9209 MB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.5136, allocations: 227.8 kB / 1.329 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.5138, allocations: 105.2 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.5139, allocations: 8.219 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003374/0.5142, allocations: 155.5 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.873e-06/0.5142, allocations: 0 / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0008506/0.5151, allocations: 326.1 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.5151, allocations: 59.41 kB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.5154, allocations: 208.3 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.5154, allocations: 37.7 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.5156, allocations: 156.8 kB / 1.33 GB, free: 10.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.875e-05/0.5157, allocations: 91.3 kB / 1.33 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.5158, allocations: 73.69 kB / 1.33 GB, free: 9.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.516, allocations: 334.8 kB / 1.33 GB, free: 9.574 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.5162, allocations: 95.95 kB / 1.33 GB, free: 9.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.5165, allocations: 149 kB / 1.33 GB, free: 9.316 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.5169, allocations: 217.7 kB / 1.33 GB, free: 9.086 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.5169, allocations: 7.938 kB / 1.33 GB, free: 9.078 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005617/0.5175, allocations: 301 kB / 1.331 GB, free: 8.777 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.5175, allocations: 16.09 kB / 1.331 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.5175, allocations: 0 / 1.331 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/0.5175, allocations: 4 kB / 1.331 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.5177, allocations: 35.91 kB / 1.331 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.5178, allocations: 4 kB / 1.331 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.518, allocations: 43.81 kB / 1.331 GB, free: 8.676 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.518, allocations: 12 kB / 1.331 GB, free: 8.664 MB / 1.029 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.0002478/0.5182, allocations: 181.7 kB / 1.331 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.5183, allocations: 19.86 kB / 1.331 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.731e-05/0.5184, allocations: 26.66 kB / 1.331 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.5184, allocations: 4 kB / 1.331 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.5184, allocations: 0 / 1.331 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.5184, allocations: 7.922 kB / 1.331 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.5196, allocations: 0.7135 MB / 1.332 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5196, allocations: 3.984 kB / 1.332 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.5197, allocations: 27.98 kB / 1.332 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5197, allocations: 0 / 1.332 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.5197, allocations: 8 kB / 1.332 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5197, allocations: 0 / 1.332 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5197, allocations: 0 / 1.332 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.5203, allocations: 352.1 kB / 1.332 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/0.5204, allocations: 101 kB / 1.332 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.5204, allocations: 7.984 kB / 1.332 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.5206, allocations: 23.97 kB / 1.332 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.5207, allocations: 39.89 kB / 1.332 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.5208, allocations: 8 kB / 1.332 GB, free: 7.055 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001374/0.5209, allocations: 143 kB / 1.332 GB, free: 6.914 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.5209, allocations: 4 kB / 1.332 GB, free: 6.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003293/0.5212, allocations: 67.83 kB / 1.333 GB, free: 6.844 MB / 1.029 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.0001751/0.5214, allocations: 120.9 kB / 1.333 GB, free: 6.715 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005389/0.5219, allocations: 227.8 kB / 1.333 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5219, allocations: 0 / 1.333 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.5222, allocations: 116.7 kB / 1.333 GB, free: 6.379 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.5226, allocations: 39.91 kB / 1.333 GB, free: 6.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.5236, allocations: 477 kB / 1.333 GB, free: 5.852 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.5241, allocations: 0.7597 MB / 1.334 GB, free: 5.066 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001074/0.5242, allocations: 26.28 kB / 1.334 GB, free: 5.039 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.559e-05/0.5243, allocations: 27.44 kB / 1.334 GB, free: 5.016 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.5243, allocations: 0 / 1.334 GB, free: 5.016 MB / 1.029 GB Notification: Performance of Templates: time 0.007782/0.5321, allocations: 2.868 MB / 1.337 GB, free: 2.168 MB / 1.029 GB " [Timeout remaining time 299] 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: 10.07477740291506]