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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 106.6 kB / 15.99 MB, free: 6.355 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.001742/0.001742, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.492/1.492, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.78/2.78, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 59.59 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3958, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003974/0.3998, allocations: 2.122 MB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.4013, allocations: 0.7092 MB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.4015, allocations: 7.938 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.4017, allocations: 23.8 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.4019, allocations: 27.78 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.4024, allocations: 147.8 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004903/0.4029, allocations: 395.2 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.4033, allocations: 231.8 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.4035, allocations: 135.6 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.4037, allocations: 155.3 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.4038, allocations: 36 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.4039, allocations: 51.98 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.404, allocations: 83.69 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.4042, allocations: 143.3 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004209/0.4046, allocations: 331.5 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.4046, allocations: 0 / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4046, allocations: 3.938 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.4047, allocations: 0 / 1.069 GB, free: 10.54 MB / 0.8419 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.000997/0.4057, allocations: 0.569 MB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4057, allocations: 8.031 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.458e-05/0.4058, allocations: 32.56 kB / 1.069 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.4062, allocations: 275.7 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.4062, allocations: 28.94 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.4063, allocations: 28.38 kB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000639/0.4069, allocations: 323.9 kB / 1.07 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4069, allocations: 0 / 1.07 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.407, allocations: 12 kB / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.407, allocations: 8 kB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005287/0.4075, allocations: 234.1 kB / 1.07 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.4091, allocations: 0.9285 MB / 1.071 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/0.4097, allocations: 251.6 kB / 1.071 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.4099, allocations: 129.1 kB / 1.071 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.41, allocations: 8.234 kB / 1.071 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003804/0.4104, allocations: 160.2 kB / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.4104, allocations: 0 / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.0007673/0.4111, allocations: 323.5 kB / 1.072 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/0.4112, allocations: 55.41 kB / 1.072 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.4115, allocations: 211.9 kB / 1.072 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.4115, allocations: 37.7 kB / 1.072 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.4117, allocations: 152.6 kB / 1.072 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.176e-05/0.4117, allocations: 82.92 kB / 1.072 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.4119, allocations: 81.67 kB / 1.072 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4121, allocations: 330.8 kB / 1.073 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.4123, allocations: 95.95 kB / 1.073 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.4126, allocations: 160.9 kB / 1.073 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.413, allocations: 214.4 kB / 1.073 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.413, allocations: 0 / 1.073 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005647/0.4135, allocations: 308.6 kB / 1.073 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4136, allocations: 4 kB / 1.073 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.4136, allocations: 4 kB / 1.073 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.4136, allocations: 4 kB / 1.073 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.4138, allocations: 44.06 kB / 1.074 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4139, allocations: 4 kB / 1.074 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.4141, allocations: 39.72 kB / 1.074 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.4141, allocations: 23.94 kB / 1.074 GB, free: 5.172 MB / 0.8419 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.0002175/0.4143, allocations: 183.3 kB / 1.074 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.4144, allocations: 23.72 kB / 1.074 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005959/0.415, allocations: 276.2 kB / 1.074 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.415, allocations: 4 kB / 1.074 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.415, allocations: 0 / 1.074 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.415, allocations: 3.984 kB / 1.074 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.4162, allocations: 0.7288 MB / 1.075 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4162, allocations: 0 / 1.075 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.4163, allocations: 35.91 kB / 1.075 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4164, allocations: 0 / 1.075 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.4164, allocations: 4 kB / 1.075 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.4164, allocations: 0 / 1.075 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4164, allocations: 3.938 kB / 1.075 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005184/0.4169, allocations: 355.6 kB / 1.075 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.417, allocations: 104.8 kB / 1.075 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.4171, allocations: 7.938 kB / 1.075 GB, free: 3.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.4173, allocations: 27.97 kB / 1.075 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.4174, allocations: 35.89 kB / 1.075 GB, free: 3.289 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.4174, allocations: 12 kB / 1.075 GB, free: 3.277 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001239/0.4175, allocations: 131.2 kB / 1.075 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4175, allocations: 8 kB / 1.075 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003234/0.4179, allocations: 59.84 kB / 1.076 GB, free: 3.082 MB / 0.8419 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.0001966/0.4181, allocations: 121.3 kB / 1.076 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006248/0.4187, allocations: 263.8 kB / 1.076 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4187, allocations: 320 / 1.076 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.419, allocations: 131.8 kB / 1.076 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.4194, allocations: 39.97 kB / 1.076 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.4204, allocations: 0.5822 MB / 1.077 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.421, allocations: 0.7603 MB / 1.077 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.4211, allocations: 27.44 kB / 1.077 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.4211, allocations: 0 / 1.077 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of Templates: time 0.5626/0.9837, allocations: 3.382 MB / 1.081 GB, free: 21.72 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (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 & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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