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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00111/0.001111, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001036/0.001036, allocations: 190.8 kB / 16.25 MB, free: 6.633 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.205/1.205, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.411/2.411, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.00136, allocations: 60 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2333, allocations: 157.4 MB / 1.052 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002812/0.2361, allocations: 2.138 MB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009631/0.2371, allocations: 0.7246 MB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.376e-05/0.2372, allocations: 4 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.2373, allocations: 23.73 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.2374, allocations: 27.77 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.2378, allocations: 139.9 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.2381, allocations: 395.2 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00029/0.2384, allocations: 241.3 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.2386, allocations: 143.5 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.2387, allocations: 143.4 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.2388, allocations: 40 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.301e-05/0.2388, allocations: 44 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.2389, allocations: 83.69 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.239, allocations: 151.3 kB / 1.057 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.2394, allocations: 407 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2394, allocations: 0 / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2394, allocations: 4 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2394, allocations: 0 / 1.057 GB, free: 3.984 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.0006955/0.2401, allocations: 0.569 MB / 1.058 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.2401, allocations: 8.625 kB / 1.058 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.057e-05/0.2402, allocations: 58.73 kB / 1.058 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.2403, allocations: 36.56 kB / 1.058 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.2405, allocations: 276.2 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.2405, allocations: 24.94 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.2406, allocations: 32.38 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.2411, allocations: 311.8 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2411, allocations: 0 / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.2411, allocations: 12 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.2412, allocations: 4 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.2416, allocations: 242.1 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.2428, allocations: 0.9479 MB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.2433, allocations: 247.5 kB / 1.06 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.2435, allocations: 121.9 kB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.2435, allocations: 4.234 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000277/0.2438, allocations: 155.5 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.2438, allocations: 8 kB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.0005985/0.2444, allocations: 325.2 kB / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.2444, allocations: 59.41 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.2446, allocations: 210.7 kB / 1.06 GB, free: 168 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.2446, allocations: 37.7 kB / 1.061 GB, free: 124 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.281e-05/0.2447, allocations: 148.8 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/0.2448, allocations: 82.94 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.2449, allocations: 85.67 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.245, allocations: 330.8 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.2452, allocations: 95.95 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.2454, allocations: 149 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.2458, allocations: 214.3 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2458, allocations: 3.938 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004759/0.2463, allocations: 308.7 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2463, allocations: 4 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2463, allocations: 4 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.2463, allocations: 0 / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.2465, allocations: 39.91 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.2465, allocations: 4 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.2467, allocations: 51.86 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.2468, allocations: 12 kB / 1.062 GB, free: 14.55 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.0001409/0.2469, allocations: 177.6 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.2469, allocations: 23.7 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.2474, allocations: 276.1 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2475, allocations: 8 kB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2475, allocations: 0 / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2475, allocations: 0 / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008779/0.2484, allocations: 0.7293 MB / 1.063 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2484, allocations: 4 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.2485, allocations: 31.92 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2485, allocations: 4 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.2485, allocations: 4 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.2485, allocations: 7.984 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2486, allocations: 3.938 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.249, allocations: 355.7 kB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.249, allocations: 100.8 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.2491, allocations: 4 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.2493, allocations: 31.95 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.2494, allocations: 39.84 kB / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.2494, allocations: 11.98 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.607e-05/0.2495, allocations: 128.4 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2495, allocations: 0 / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002962/0.2498, allocations: 71.83 kB / 1.064 GB, free: 12.46 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.0006855/0.2505, allocations: 0.9052 MB / 1.065 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005123/0.251, allocations: 260.3 kB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.251, allocations: 4.312 kB / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.2512, allocations: 131.8 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.2516, allocations: 39.91 kB / 1.065 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.2542, allocations: 2.613 MB / 1.068 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.2545, allocations: 0.7641 MB / 1.069 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000109/0.2546, allocations: 30.28 kB / 1.069 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.2548, allocations: 91.39 kB / 1.069 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.2548, allocations: 0 / 1.069 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.38/1.635, allocations: 5.248 MB / 1.074 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/1.635, allocations: 246.4 kB / 1.074 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/3.417, allocations: 9.734 kB / 1.074 GB, free: 2.133 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