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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 195.1 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 222.9 MB / 239.8 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.286/2.286, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5041, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002907/0.5071, allocations: 2.132 MB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.5081, allocations: 0.7168 MB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.473e-05/0.5082, allocations: 4 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.5083, allocations: 23.8 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.926e-05/0.5084, allocations: 31.72 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.5088, allocations: 139.9 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000319/0.5091, allocations: 363.1 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.5094, allocations: 220.5 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.5095, allocations: 119.5 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.5097, allocations: 131.4 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.764e-05/0.5097, allocations: 20 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.177e-05/0.5098, allocations: 31.98 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.5099, allocations: 63.81 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.51, allocations: 127.3 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.5103, allocations: 381 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5103, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.083e-06/0.5104, allocations: 7.938 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.5104, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 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.0007366/0.5111, allocations: 0.5691 MB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.5111, allocations: 8.031 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.5112, allocations: 58.73 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.5113, allocations: 32.56 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.5115, allocations: 275.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.5116, allocations: 28.88 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.5116, allocations: 32.38 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005119/0.5121, allocations: 311.8 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.5121, allocations: 4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.5122, allocations: 12 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.5122, allocations: 4 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/0.5126, allocations: 234.1 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.5139, allocations: 0.9401 MB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.5144, allocations: 245.2 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.5146, allocations: 117.3 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.5146, allocations: 8.234 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002875/0.5149, allocations: 163.5 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.724e-06/0.5149, allocations: 4 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0006231/0.5155, allocations: 323.5 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.5156, allocations: 59.39 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.5158, allocations: 211 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.5158, allocations: 41.7 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.375e-05/0.5159, allocations: 156.6 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/0.516, allocations: 71.02 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.5161, allocations: 85.61 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5162, allocations: 334.8 kB / 1.025 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.5164, allocations: 95.95 kB / 1.025 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.5166, allocations: 157 kB / 1.026 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.5169, allocations: 212.5 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.517, allocations: 3.938 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005005/0.5175, allocations: 301 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5175, allocations: 4 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5175, allocations: 4 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.5175, allocations: 0 / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.5177, allocations: 40.06 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.5177, allocations: 11.94 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.5179, allocations: 51.64 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.5179, allocations: 16 kB / 1.026 GB, free: 8.859 MB / 0.7794 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.condition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.condition,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.0001494/0.5181, allocations: 169.7 kB / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.5181, allocations: 23.7 kB / 1.026 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.5186, allocations: 284.2 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.5187, allocations: 4 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5187, allocations: 0 / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5187, allocations: 0 / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009149/0.5196, allocations: 0.721 MB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.5196, allocations: 8 kB / 1.027 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.5197, allocations: 31.86 kB / 1.027 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5197, allocations: 0 / 1.027 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.5198, allocations: 7.984 kB / 1.027 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.5198, allocations: 4 kB / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.5198, allocations: 7.938 kB / 1.027 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.5202, allocations: 359.6 kB / 1.028 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.5203, allocations: 104.7 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.5203, allocations: 4 kB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.5205, allocations: 27.95 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/0.5206, allocations: 39.89 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.5206, allocations: 8 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.193e-05/0.5207, allocations: 131.2 kB / 1.028 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5207, allocations: 0 / 1.028 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002851/0.521, allocations: 71.84 kB / 1.028 GB, free: 6.77 MB / 0.7794 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.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,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.0007364/0.5218, allocations: 0.8975 MB / 1.029 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004335/0.5222, allocations: 251.8 kB / 1.029 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5222, allocations: 0 / 1.029 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.5224, allocations: 136.3 kB / 1.029 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.5228, allocations: 40.78 kB / 1.029 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.5256, allocations: 2.622 MB / 1.032 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.5259, allocations: 0.7605 MB / 1.033 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.526, allocations: 34.27 kB / 1.033 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.5261, allocations: 83.39 kB / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of SimCode: time 1.513e-06/0.5261, allocations: 4 kB / 1.033 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.105/1.631, allocations: 5.077 MB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/1.631, allocations: 238 kB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/3.304, allocations: 0 / 1.038 GB, free: 12.62 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches