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.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.001868/0.001868, allocations: 105 kB / 16.45 MB, free: 6.445 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.00202/0.00202, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.389/1.389, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 497.2 MB / 0.7812 GB, free: 11.91 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.89 kB / 1.134 GB, free: 13.13 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.91/0.9121, allocations: 173.9 MB / 1.304 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002674/0.9147, allocations: 2.045 MB / 1.306 GB, free: 30.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.9158, allocations: 0.7119 MB / 1.307 GB, free: 30.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.9159, allocations: 5.219 kB / 1.307 GB, free: 30.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.916, allocations: 32.33 kB / 1.307 GB, free: 30.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.395e-05/0.9161, allocations: 48.53 kB / 1.307 GB, free: 30.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.9165, allocations: 155.2 kB / 1.307 GB, free: 30.08 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.9168, allocations: 394.9 kB / 1.307 GB, free: 29.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.9171, allocations: 209 kB / 1.307 GB, free: 29.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.9172, allocations: 143.6 kB / 1.308 GB, free: 29.72 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.9174, allocations: 145.6 kB / 1.308 GB, free: 29.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.9174, allocations: 39.5 kB / 1.308 GB, free: 29.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.61e-05/0.9175, allocations: 43.16 kB / 1.308 GB, free: 29.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.9175, allocations: 80.97 kB / 1.308 GB, free: 29.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.9176, allocations: 148.7 kB / 1.308 GB, free: 29.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.918, allocations: 428.2 kB / 1.308 GB, free: 29.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.918, allocations: 3.328 kB / 1.308 GB, free: 29.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.844e-06/0.918, allocations: 0 / 1.308 GB, free: 29.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.918, allocations: 4 kB / 1.308 GB, free: 29.29 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.0007055/0.9187, allocations: 0.5762 MB / 1.309 GB, free: 28.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.9188, allocations: 8.531 kB / 1.309 GB, free: 28.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.02e-05/0.9188, allocations: 69.25 kB / 1.309 GB, free: 28.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.9189, allocations: 31.16 kB / 1.309 GB, free: 28.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.9192, allocations: 269.2 kB / 1.309 GB, free: 28.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.9192, allocations: 27.03 kB / 1.309 GB, free: 28.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.9192, allocations: 31.44 kB / 1.309 GB, free: 28.44 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.9197, allocations: 323.5 kB / 1.31 GB, free: 28.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.9197, allocations: 0 / 1.31 GB, free: 28.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.9197, allocations: 10.66 kB / 1.31 GB, free: 28.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.9197, allocations: 7.812 kB / 1.31 GB, free: 28.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003925/0.9201, allocations: 234.4 kB / 1.31 GB, free: 28.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.9212, allocations: 0.9294 MB / 1.311 GB, free: 27.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.9216, allocations: 231.9 kB / 1.311 GB, free: 27.46 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.9218, allocations: 108.8 kB / 1.311 GB, free: 27.42 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.9218, allocations: 7.156 kB / 1.311 GB, free: 27.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.9221, allocations: 161.4 kB / 1.311 GB, free: 27.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.9221, allocations: 4 kB / 1.311 GB, free: 27.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.0005607/0.9226, allocations: 324.3 kB / 1.312 GB, free: 27.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.9227, allocations: 56.88 kB / 1.312 GB, free: 27.13 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.9228, allocations: 212.2 kB / 1.312 GB, free: 26.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.9228, allocations: 42.8 kB / 1.312 GB, free: 26.94 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/0.9229, allocations: 152.5 kB / 1.312 GB, free: 26.81 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.9229, allocations: 89.33 kB / 1.312 GB, free: 26.74 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.753e-05/0.923, allocations: 83.97 kB / 1.312 GB, free: 26.69 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.367e-05/0.9231, allocations: 331.1 kB / 1.313 GB, free: 26.37 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.9232, allocations: 93.42 kB / 1.313 GB, free: 26.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.9234, allocations: 152.3 kB / 1.313 GB, free: 26.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.9237, allocations: 215.3 kB / 1.313 GB, free: 26.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.9237, allocations: 3.938 kB / 1.313 GB, free: 26.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004268/0.9241, allocations: 308.4 kB / 1.313 GB, free: 25.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.9241, allocations: 10.12 kB / 1.313 GB, free: 25.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9242, allocations: 2.438 kB / 1.313 GB, free: 25.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.9242, allocations: 3.125 kB / 1.313 GB, free: 25.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.9244, allocations: 39.69 kB / 1.313 GB, free: 25.97 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.9244, allocations: 2.719 kB / 1.313 GB, free: 25.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.9245, allocations: 48.3 kB / 1.313 GB, free: 25.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.9246, allocations: 12.44 kB / 1.313 GB, free: 25.95 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.0001192/0.9247, allocations: 170.5 kB / 1.314 GB, free: 25.8 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.9247, allocations: 20.52 kB / 1.314 GB, free: 25.79 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00045/0.9252, allocations: 287.7 kB / 1.314 GB, free: 25.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.9252, allocations: 6.75 kB / 1.314 GB, free: 25.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.9252, allocations: 0 / 1.314 GB, free: 25.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.9252, allocations: 0 / 1.314 GB, free: 25.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007523/0.9259, allocations: 0.733 MB / 1.315 GB, free: 25.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.9259, allocations: 0 / 1.315 GB, free: 25.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.926, allocations: 26.47 kB / 1.315 GB, free: 25.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.9261, allocations: 2.812 kB / 1.315 GB, free: 25.17 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.9261, allocations: 7.938 kB / 1.315 GB, free: 25.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.9261, allocations: 6.844 kB / 1.315 GB, free: 25.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9261, allocations: 3.938 kB / 1.315 GB, free: 25.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.9264, allocations: 356 kB / 1.315 GB, free: 24.94 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.9265, allocations: 100.6 kB / 1.315 GB, free: 24.83 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.9265, allocations: 6 kB / 1.315 GB, free: 24.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.9267, allocations: 31.73 kB / 1.315 GB, free: 24.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/0.9268, allocations: 36.64 kB / 1.315 GB, free: 24.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.9268, allocations: 17.81 kB / 1.315 GB, free: 24.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.087e-05/0.9269, allocations: 139.7 kB / 1.315 GB, free: 24.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9269, allocations: 0 / 1.315 GB, free: 24.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002904/0.9271, allocations: 61.48 kB / 1.315 GB, free: 24.69 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: 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.0005746/0.9277, allocations: 0.9068 MB / 1.316 GB, free: 23.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004122/0.9281, allocations: 236.7 kB / 1.317 GB, free: 23.86 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9281, allocations: 0 / 1.317 GB, free: 23.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.9283, allocations: 130.4 kB / 1.317 GB, free: 23.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.9286, allocations: 42.17 kB / 1.317 GB, free: 23.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.931, allocations: 2.551 MB / 1.319 GB, free: 22 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.9312, allocations: 0.763 MB / 1.32 GB, free: 21.29 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.9313, allocations: 31.23 kB / 1.32 GB, free: 21.29 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.9314, allocations: 85.92 kB / 1.32 GB, free: 21.23 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.9314, allocations: 0 / 1.32 GB, free: 21.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.9618, allocations: 5.636 MB / 1.326 GB, free: 20.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.828, allocations: 10.55 kB / 1.326 GB, free: 20.54 MB / 1.061 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 840.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.973142829723656]