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) 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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001175, 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.001127/0.001127, 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.197/1.197, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.361/2.361, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 58.22 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2212, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002948/0.2242, allocations: 2.128 MB / 1.054 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2253, allocations: 0.7246 MB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.2254, allocations: 4 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.2255, allocations: 23.73 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.956e-05/0.2256, allocations: 31.78 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.226, allocations: 139.9 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.2263, allocations: 363.2 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.2266, allocations: 204.5 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.2268, allocations: 131.5 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.2269, allocations: 127.4 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.227, allocations: 20 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.07e-05/0.227, allocations: 28 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.2271, allocations: 71.67 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.2272, allocations: 131.3 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.2275, allocations: 375 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2276, allocations: 0 / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.92e-07/0.2276, allocations: 4 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2276, allocations: 0 / 1.057 GB, free: 3.715 MB / 0.8106 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.0007397/0.2283, allocations: 0.5652 MB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.2284, allocations: 11.97 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.2284, allocations: 66.72 kB / 1.057 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.583e-05/0.2285, allocations: 32.56 kB / 1.057 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.2287, allocations: 271.7 kB / 1.057 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.2288, allocations: 28.94 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.2288, allocations: 28.38 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.2293, allocations: 323.8 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2294, allocations: 0 / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.2294, allocations: 12 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.2294, allocations: 4 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/0.2298, allocations: 238 kB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.2311, allocations: 0.9363 MB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.2315, allocations: 247.5 kB / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.2317, allocations: 121.3 kB / 1.059 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.2318, allocations: 8.219 kB / 1.059 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.232, allocations: 153 kB / 1.06 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 1.572e-06/0.2321, allocations: 4 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.0006024/0.2327, allocations: 329.2 kB / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.2327, allocations: 59.41 kB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.2329, allocations: 206.8 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.2329, allocations: 45.69 kB / 1.06 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.233, allocations: 148.6 kB / 1.06 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.2331, allocations: 78.94 kB / 1.06 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.2332, allocations: 81.67 kB / 1.06 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.2333, allocations: 334.8 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.2335, allocations: 104 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.2337, allocations: 149 kB / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.234, allocations: 218.3 kB / 1.061 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2341, allocations: 3.938 kB / 1.061 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000478/0.2345, allocations: 304.7 kB / 1.061 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2346, allocations: 4.156 kB / 1.061 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2346, allocations: 8 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.2346, allocations: 0 / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.2348, allocations: 43.91 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2348, allocations: 4 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.235, allocations: 39.72 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.235, allocations: 23.97 kB / 1.062 GB, free: 14.28 MB / 0.8262 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.0001448/0.2352, allocations: 173.7 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.2352, allocations: 19.72 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004791/0.2357, allocations: 280.7 kB / 1.062 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2357, allocations: 4 kB / 1.062 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2357, allocations: 0 / 1.062 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2357, allocations: 7.922 kB / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008911/0.2366, allocations: 0.7291 MB / 1.063 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2366, allocations: 4 kB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.2368, allocations: 35.91 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2368, allocations: 0 / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.2368, allocations: 4 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2368, allocations: 4 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2368, allocations: 3.938 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.2372, allocations: 351.2 kB / 1.063 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.2373, allocations: 100.8 kB / 1.063 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.2373, allocations: 8 kB / 1.063 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.2375, allocations: 23.97 kB / 1.063 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.2376, allocations: 39.89 kB / 1.063 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.2376, allocations: 19.98 kB / 1.063 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.084e-05/0.2377, allocations: 132.9 kB / 1.063 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2377, allocations: 0 / 1.063 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002861/0.238, allocations: 67.83 kB / 1.064 GB, free: 12.18 MB / 0.8262 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.000696/0.2387, allocations: 0.9096 MB / 1.064 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004241/0.2392, allocations: 247.8 kB / 1.065 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.2392, allocations: 0 / 1.065 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.2394, allocations: 131.9 kB / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.2397, allocations: 36.23 kB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.2424, allocations: 2.622 MB / 1.067 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.2426, allocations: 0.7605 MB / 1.068 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.2428, allocations: 30.27 kB / 1.068 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.2429, allocations: 83.41 kB / 1.068 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.2429, allocations: 0 / 1.068 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.345/4.588, allocations: 5.072 MB / 1.073 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/4.588, allocations: 233.9 kB / 1.073 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/6.166, allocations: 0 / 1.073 GB, free: 2.047 MB / 0.8262 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches