Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_9_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.00756/0.00756, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001706/0.001706, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 61.44 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2413, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002941/0.2443, allocations: 2.049 MB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2454, allocations: 0.6897 MB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.2455, allocations: 7.938 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.2456, allocations: 35.61 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.674e-05/0.2457, allocations: 47.58 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.2461, allocations: 147.8 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.2465, allocations: 411.1 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.2468, allocations: 239.8 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.2469, allocations: 135.5 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.2471, allocations: 151.3 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.2472, allocations: 40 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.803e-05/0.2472, allocations: 40 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.2473, allocations: 83.75 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.2475, allocations: 147.3 kB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.2478, allocations: 429.4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2478, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2479, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.2479, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 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.0007473/0.2486, allocations: 0.5659 MB / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.2487, allocations: 12.03 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.014e-05/0.2487, allocations: 62.72 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.2488, allocations: 32.56 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.2491, allocations: 284.6 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.2491, allocations: 28.94 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.2492, allocations: 32.38 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005069/0.2497, allocations: 315.8 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2497, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.2498, allocations: 12 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2498, allocations: 4 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.2502, allocations: 238.1 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.2515, allocations: 0.9246 MB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.252, allocations: 255.5 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.2522, allocations: 121.2 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.2522, allocations: 4.234 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.2525, allocations: 159.5 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 3.086e-06/0.2525, allocations: 3.984 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0006607/0.2532, allocations: 321.3 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.2533, allocations: 63.34 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.2534, allocations: 198.2 kB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.2535, allocations: 41.7 kB / 1.096 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.2536, allocations: 160.5 kB / 1.096 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.2536, allocations: 79 kB / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.2538, allocations: 81.67 kB / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2539, allocations: 330.8 kB / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.2541, allocations: 91.95 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.2543, allocations: 156.8 kB / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.2547, allocations: 208.8 kB / 1.097 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.2547, allocations: 3.938 kB / 1.097 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005137/0.2552, allocations: 312.7 kB / 1.097 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2552, allocations: 4 kB / 1.097 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2552, allocations: 7.938 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2553, allocations: 0 / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.2554, allocations: 43.84 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.2555, allocations: 4 kB / 1.097 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.2557, allocations: 47.88 kB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.2557, allocations: 12 kB / 1.097 GB, free: 7.926 MB / 0.8575 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.0001927/0.2559, allocations: 173.6 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.2559, allocations: 23.72 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005244/0.2565, allocations: 280.7 kB / 1.097 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2565, allocations: 8 kB / 1.097 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2565, allocations: 3.938 kB / 1.097 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2565, allocations: 3.984 kB / 1.097 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.2575, allocations: 0.7255 MB / 1.098 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2576, allocations: 0 / 1.098 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.2577, allocations: 27.97 kB / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2577, allocations: 0 / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.2577, allocations: 12 kB / 1.098 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2577, allocations: 0 / 1.098 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.2578, allocations: 11.86 kB / 1.098 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004569/0.2582, allocations: 352.8 kB / 1.099 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.2583, allocations: 100.8 kB / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.2583, allocations: 8 kB / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.2585, allocations: 27.97 kB / 1.099 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/0.2586, allocations: 39.89 kB / 1.099 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.2587, allocations: 12 kB / 1.099 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001022/0.2588, allocations: 141.5 kB / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2588, allocations: 0 / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003034/0.2591, allocations: 63.75 kB / 1.099 GB, free: 5.832 MB / 0.8575 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.0008416/0.2599, allocations: 0.9019 MB / 1.1 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004697/0.2604, allocations: 247.8 kB / 1.1 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2604, allocations: 4.312 kB / 1.1 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.2607, allocations: 136.3 kB / 1.1 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.261, allocations: 35.92 kB / 1.1 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.2639, allocations: 2.55 MB / 1.103 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.2643, allocations: 0.7602 MB / 1.103 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.2644, allocations: 30.28 kB / 1.103 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.2645, allocations: 87.41 kB / 1.104 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.2645, allocations: 0 / 1.104 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2923/0.5568, allocations: 5.61 MB / 1.109 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.613, allocations: 19.66 kB / 1.109 GB, free: 11.46 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches