Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_11_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.005391/0.005391, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001412/0.001412, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.385/2.385, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 55.91 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.582/0.5837, allocations: 159.1 MB / 1.22 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003017/0.5867, allocations: 2.034 MB / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.5879, allocations: 0.7021 MB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.588, allocations: 7.938 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.5882, allocations: 35.61 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.5883, allocations: 43.59 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.5887, allocations: 159.7 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.5892, allocations: 403.1 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003442/0.5895, allocations: 250.3 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.5897, allocations: 131.6 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.5899, allocations: 151.2 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.26e-05/0.5899, allocations: 40 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.288e-05/0.59, allocations: 40 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.424e-05/0.5901, allocations: 83.8 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.5903, allocations: 151.3 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004386/0.5907, allocations: 426 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5907, allocations: 0 / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5907, allocations: 4 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.5907, allocations: 0 / 1.225 GB, free: 13.45 MB / 0.9512 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.0008031/0.5916, allocations: 0.5764 MB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.5916, allocations: 12.03 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.938e-05/0.5917, allocations: 62.72 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.5917, allocations: 32.75 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.5921, allocations: 275.9 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.5921, allocations: 32.88 kB / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.5922, allocations: 32.38 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.5927, allocations: 311.8 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5927, allocations: 0 / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.5928, allocations: 15.98 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.5928, allocations: 4 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.5932, allocations: 238.1 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.5946, allocations: 0.9249 MB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004902/0.5951, allocations: 255.5 kB / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.5953, allocations: 121.2 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.5953, allocations: 4.234 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.5956, allocations: 163.5 kB / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.5956, allocations: 0 / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.000652/0.5963, allocations: 326.1 kB / 1.228 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.5964, allocations: 55.41 kB / 1.228 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.5965, allocations: 208 kB / 1.228 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.5966, allocations: 41.64 kB / 1.228 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.5967, allocations: 152.9 kB / 1.228 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.211e-05/0.5968, allocations: 91.3 kB / 1.228 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.5969, allocations: 81.67 kB / 1.229 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.597, allocations: 326.8 kB / 1.229 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.5973, allocations: 95.94 kB / 1.229 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.5975, allocations: 165 kB / 1.229 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.5979, allocations: 206.6 kB / 1.229 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5979, allocations: 3.938 kB / 1.229 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005355/0.5984, allocations: 320.5 kB / 1.23 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.5985, allocations: 4 kB / 1.23 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.5985, allocations: 4 kB / 1.23 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.5985, allocations: 0 / 1.23 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.5987, allocations: 47.84 kB / 1.23 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.5987, allocations: 4 kB / 1.23 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.5989, allocations: 43.97 kB / 1.23 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.5989, allocations: 15.94 kB / 1.23 GB, free: 7.992 MB / 0.9512 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.0001628/0.5991, allocations: 170.2 kB / 1.23 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.5991, allocations: 23.86 kB / 1.23 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005337/0.5997, allocations: 280.2 kB / 1.23 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.5997, allocations: 4 kB / 1.23 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5997, allocations: 0 / 1.23 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.5997, allocations: 11.91 kB / 1.23 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.6007, allocations: 0.7294 MB / 1.231 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6008, allocations: 0 / 1.231 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.6009, allocations: 23.98 kB / 1.231 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6009, allocations: 0 / 1.231 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.6009, allocations: 15.98 kB / 1.231 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6009, allocations: 0 / 1.231 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.601, allocations: 3.938 kB / 1.231 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/0.6015, allocations: 360.9 kB / 1.231 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.6015, allocations: 96.91 kB / 1.231 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.6016, allocations: 11.98 kB / 1.231 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.6018, allocations: 31.97 kB / 1.231 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/0.6019, allocations: 39.89 kB / 1.231 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.6019, allocations: 8 kB / 1.231 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001001/0.602, allocations: 135.2 kB / 1.232 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.602, allocations: 0 / 1.232 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002894/0.6023, allocations: 59.89 kB / 1.232 GB, free: 5.914 MB / 0.9512 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.0008344/0.6031, allocations: 0.9058 MB / 1.233 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004761/0.6036, allocations: 251.8 kB / 1.233 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.6036, allocations: 320 / 1.233 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.6039, allocations: 128.4 kB / 1.233 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.6042, allocations: 43.84 kB / 1.233 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.6072, allocations: 2.56 MB / 1.235 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.6076, allocations: 0.7563 MB / 1.236 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.6077, allocations: 30.39 kB / 1.236 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.6078, allocations: 95.28 kB / 1.236 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.6078, allocations: 0 / 1.236 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.408/2.016, allocations: 5.62 MB / 1.242 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/13.03, allocations: 16.98 kB / 1.242 GB, free: 11.52 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches