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.000923/0.000923, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 182.1 kB / 16.92 MB, free: 6.922 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.352/1.352, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.713/2.713, allocations: 462.6 MB / 0.7371 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 8.156 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3102, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003489/0.3137, allocations: 1.768 MB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.3156, allocations: 0.709 MB / 1.062 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.3159, allocations: 4 kB / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.3161, allocations: 31.72 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.3163, allocations: 27.78 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.3169, allocations: 135.9 kB / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006301/0.3176, allocations: 363.2 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005026/0.3181, allocations: 192.3 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.3184, allocations: 111.5 kB / 1.063 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.3186, allocations: 111.4 kB / 1.063 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.3187, allocations: 12 kB / 1.063 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.3188, allocations: 23.98 kB / 1.063 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.278e-05/0.3189, allocations: 59.7 kB / 1.063 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.3191, allocations: 145 kB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.3196, allocations: 291.5 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3196, allocations: 3.938 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3196, allocations: 0 / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.3196, allocations: 0 / 1.063 GB, free: 1.016 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.001161/0.3208, allocations: 0.5184 MB / 1.064 GB, free: 460 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.3208, allocations: 11.97 kB / 1.064 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.321, allocations: 36.55 kB / 1.064 GB, free: 412 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.3214, allocations: 271.8 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/0.3215, allocations: 24.88 kB / 1.064 GB, free: 76 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.559e-05/0.3215, allocations: 32.38 kB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008265/0.3224, allocations: 323.9 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3224, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.3224, allocations: 8 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.3225, allocations: 8 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007592/0.3232, allocations: 242.1 kB / 1.065 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.3253, allocations: 0.9557 MB / 1.066 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000735/0.326, allocations: 251.5 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.3264, allocations: 133.2 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.3264, allocations: 8.219 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004539/0.3269, allocations: 157 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 3.156e-06/0.3269, allocations: 0 / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.001033/0.3279, allocations: 349.2 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.328, allocations: 63.39 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.3283, allocations: 202.8 kB / 1.067 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.3284, allocations: 37.7 kB / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.3285, allocations: 152.6 kB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.835e-05/0.3286, allocations: 82.92 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.549e-05/0.3287, allocations: 57.69 kB / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3289, allocations: 330.8 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.3292, allocations: 99.95 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.3295, allocations: 157 kB / 1.068 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005693/0.3301, allocations: 222.4 kB / 1.068 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/0.3301, allocations: 3.938 kB / 1.068 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007924/0.3309, allocations: 320.8 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.331, allocations: 4 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.331, allocations: 4 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.331, allocations: 0 / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.3313, allocations: 43.91 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.3313, allocations: 0 / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.3316, allocations: 59.75 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/0.3317, allocations: 11.98 kB / 1.068 GB, free: 11.64 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.0002499/0.332, allocations: 181.6 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.332, allocations: 23.72 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007709/0.3328, allocations: 292.7 kB / 1.069 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.3328, allocations: 4 kB / 1.069 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3328, allocations: 0 / 1.069 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3328, allocations: 3.984 kB / 1.069 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.3344, allocations: 0.7408 MB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3344, allocations: 0 / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.3346, allocations: 31.97 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.3346, allocations: 7.875 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.3347, allocations: 4 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3347, allocations: 7.938 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.3347, allocations: 7.938 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006934/0.3354, allocations: 355.2 kB / 1.07 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/0.3355, allocations: 96.84 kB / 1.07 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.3355, allocations: 8 kB / 1.07 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.3359, allocations: 35.97 kB / 1.07 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.336, allocations: 39.89 kB / 1.07 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.3361, allocations: 11.98 kB / 1.07 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001638/0.3363, allocations: 132.9 kB / 1.07 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3363, allocations: 0 / 1.07 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004033/0.3367, allocations: 71.75 kB / 1.07 GB, free: 9.5 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.0002044/0.3369, allocations: 125 kB / 1.07 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005886/0.3375, allocations: 260.5 kB / 1.071 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3375, allocations: 0 / 1.071 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.3378, allocations: 131.8 kB / 1.071 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.3382, allocations: 37.28 kB / 1.071 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.3393, allocations: 0.5833 MB / 1.071 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.3396, allocations: 0.7566 MB / 1.072 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.911e-05/0.3397, allocations: 27.42 kB / 1.072 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3398, allocations: 0 / 1.072 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of Templates: time 0.008016/0.3478, allocations: 3.347 MB / 1.075 GB, free: 4.191 MB / 0.8262 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 -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