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: 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_latest_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_latest_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.001565/0.001565, allocations: 112.6 kB / 16.37 MB, free: 6 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.001537/0.001537, allocations: 196 kB / 17.31 MB, free: 5.613 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.441/2.441, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 65.2 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3059, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004477/0.3104, allocations: 2.047 MB / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001724/0.3122, allocations: 0.7129 MB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.3124, allocations: 7.938 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.3126, allocations: 31.61 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.3128, allocations: 43.58 kB / 1.03 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006367/0.3134, allocations: 159.8 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005983/0.3141, allocations: 395.2 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004911/0.3146, allocations: 243.8 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.3148, allocations: 135.6 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.315, allocations: 147.3 kB / 1.031 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.261e-05/0.3151, allocations: 40 kB / 1.031 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.3152, allocations: 44 kB / 1.031 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3153, allocations: 83.73 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.3156, allocations: 151.3 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006066/0.3162, allocations: 418.5 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3162, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3162, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3162, allocations: 0 / 1.031 GB, free: 13.44 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.001237/0.3175, allocations: 0.5729 MB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3175, allocations: 12.03 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.3176, allocations: 32.56 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.3182, allocations: 272.8 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.3182, allocations: 24.88 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.021e-05/0.3183, allocations: 32.38 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.3189, allocations: 327.9 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.319, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.319, allocations: 8 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.319, allocations: 8 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007542/0.3198, allocations: 234.1 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.3219, allocations: 0.9285 MB / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/0.3226, allocations: 251.2 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.3229, allocations: 125.9 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.323, allocations: 4.172 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004046/0.3234, allocations: 163.5 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 2.414e-06/0.3234, allocations: 0 / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.0009866/0.3244, allocations: 329.3 kB / 1.034 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.3245, allocations: 55.41 kB / 1.035 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.3247, allocations: 208 kB / 1.035 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.3248, allocations: 37.7 kB / 1.035 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.3249, allocations: 152.6 kB / 1.035 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.981e-05/0.325, allocations: 82.86 kB / 1.035 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.3252, allocations: 81.67 kB / 1.035 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3254, allocations: 342.8 kB / 1.035 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.3257, allocations: 91.95 kB / 1.035 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.326, allocations: 145 kB / 1.036 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005478/0.3266, allocations: 216.8 kB / 1.036 GB, free: 8.508 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3266, allocations: 0 / 1.036 GB, free: 8.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008231/0.3274, allocations: 303.1 kB / 1.036 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3275, allocations: 8 kB / 1.036 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3275, allocations: 0 / 1.036 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3275, allocations: 4 kB / 1.036 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.3278, allocations: 43.91 kB / 1.036 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3278, allocations: 3.938 kB / 1.036 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.3281, allocations: 43.72 kB / 1.036 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.3282, allocations: 12 kB / 1.036 GB, free: 8.094 MB / 0.8106 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.0002363/0.3284, allocations: 181.8 kB / 1.036 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.3285, allocations: 23.72 kB / 1.036 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000767/0.3292, allocations: 273.5 kB / 1.037 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.3293, allocations: 4 kB / 1.037 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3293, allocations: 0 / 1.037 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.3293, allocations: 7.984 kB / 1.037 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.3307, allocations: 0.7335 MB / 1.037 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.3307, allocations: 0 / 1.037 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.331, allocations: 35.91 kB / 1.037 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.331, allocations: 0 / 1.037 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.331, allocations: 8 kB / 1.037 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.331, allocations: 3.938 kB / 1.037 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.331, allocations: 0 / 1.037 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.3317, allocations: 352.3 kB / 1.038 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/0.3319, allocations: 108.8 kB / 1.038 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.3319, allocations: 4 kB / 1.038 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.3322, allocations: 27.97 kB / 1.038 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.3324, allocations: 35.89 kB / 1.038 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.3324, allocations: 15.94 kB / 1.038 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000148/0.3326, allocations: 136.3 kB / 1.038 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3326, allocations: 0 / 1.038 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005788/0.3332, allocations: 63.84 kB / 1.038 GB, free: 6 MB / 0.8106 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.0001926/0.3334, allocations: 121.4 kB / 1.038 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007091/0.3341, allocations: 256.5 kB / 1.039 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3341, allocations: 0 / 1.039 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.3344, allocations: 131.9 kB / 1.039 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.335, allocations: 39.95 kB / 1.039 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.3362, allocations: 466.7 kB / 1.039 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.3366, allocations: 0.7603 MB / 1.04 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.3368, allocations: 30.28 kB / 1.04 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.3369, allocations: 27.44 kB / 1.04 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.337, allocations: 0 / 1.04 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of Templates: time 0.009708/0.3467, allocations: 3.036 MB / 1.043 GB, free: 1.121 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (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 & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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