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: 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.001519/0.001519, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001717/0.001717, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.672/2.672, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 71.88 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.306, allocations: 157.4 MB / 1.052 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003483/0.3095, allocations: 2.125 MB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.3108, allocations: 0.7245 MB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.3111, allocations: 7.938 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.3112, allocations: 19.8 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.3114, allocations: 35.72 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.3118, allocations: 139.9 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000419/0.3123, allocations: 359.2 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/0.3126, allocations: 216.5 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.3128, allocations: 115.6 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.313, allocations: 135.3 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.3131, allocations: 20 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.062e-05/0.3132, allocations: 28 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.534e-05/0.3133, allocations: 67.73 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.3134, allocations: 127.3 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.3138, allocations: 375 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3138, allocations: 4 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3138, allocations: 4 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.3138, allocations: 0 / 1.056 GB, free: 4.34 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.0009265/0.3148, allocations: 0.57 MB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3148, allocations: 8.031 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.014e-05/0.3149, allocations: 32.56 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.3152, allocations: 268.4 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.3153, allocations: 24.94 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.3153, allocations: 36.36 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006058/0.3159, allocations: 319.9 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.316, allocations: 0 / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.316, allocations: 12 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.316, allocations: 4 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005151/0.3165, allocations: 234.1 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.318, allocations: 0.9478 MB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.3185, allocations: 247.6 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.3188, allocations: 121.2 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.3188, allocations: 4.234 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003586/0.3192, allocations: 159.5 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 1.994e-06/0.3192, allocations: 0 / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.0007296/0.3199, allocations: 329.3 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.32, allocations: 59.39 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.3201, allocations: 203.3 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.3202, allocations: 45.69 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3203, allocations: 152.6 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.006e-05/0.3204, allocations: 74.95 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.3205, allocations: 81.67 kB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3207, allocations: 334.8 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.3209, allocations: 95.95 kB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.3211, allocations: 153 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.3215, allocations: 214.4 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3215, allocations: 0 / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000554/0.3221, allocations: 308.8 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3221, allocations: 8.031 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3221, allocations: 3.938 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3221, allocations: 4 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.3224, allocations: 43.91 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3224, allocations: 4 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.3226, allocations: 39.72 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.3226, allocations: 19.92 kB / 1.061 GB, free: 14.98 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.0001665/0.3228, allocations: 177.6 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.3229, allocations: 23.72 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005313/0.3234, allocations: 276.2 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3234, allocations: 4 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3234, allocations: 0 / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3234, allocations: 0 / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.3244, allocations: 0.7293 MB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.788e-06/0.3245, allocations: 0 / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.3246, allocations: 35.86 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3246, allocations: 4 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.3246, allocations: 4 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.3247, allocations: 4 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3247, allocations: 4 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.3251, allocations: 363.5 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.3252, allocations: 100.8 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.3253, allocations: 8 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.3255, allocations: 23.97 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.3256, allocations: 51.86 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.3256, allocations: 12 kB / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.972e-05/0.3257, allocations: 132.4 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3257, allocations: 0 / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003266/0.3261, allocations: 63.84 kB / 1.063 GB, free: 12.89 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.0001528/0.3262, allocations: 113.1 kB / 1.063 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005012/0.3267, allocations: 255.8 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3267, allocations: 0 / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.327, allocations: 127.9 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3273, allocations: 31.98 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000853/0.3282, allocations: 0.5553 MB / 1.064 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.3285, allocations: 0.7682 MB / 1.065 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.3287, allocations: 26.3 kB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.688e-05/0.3288, allocations: 31.42 kB / 1.065 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3288, allocations: 0 / 1.065 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.006243/0.335, allocations: 2.694 MB / 1.068 GB, free: 8.266 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/jenkins/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