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.001513/0.001513, allocations: 114.5 kB / 16.37 MB, free: 6.012 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.001674/0.001674, allocations: 193.4 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.433/2.433, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 58.72 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2682, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.00297/0.2712, allocations: 2.044 MB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.2723, allocations: 0.7128 MB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.2724, allocations: 11.94 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.2726, allocations: 31.61 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.244e-05/0.2727, allocations: 39.59 kB / 1.03 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.2731, allocations: 163.7 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.2734, allocations: 391.2 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.2738, allocations: 243.7 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.2739, allocations: 135.6 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.2741, allocations: 151.2 kB / 1.031 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.2742, allocations: 40 kB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.2743, allocations: 40 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.2743, allocations: 87.73 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.2745, allocations: 151.3 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.2748, allocations: 414.6 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2749, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2749, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.2749, allocations: 0 / 1.031 GB, free: 13.41 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.0007938/0.2757, allocations: 0.5689 MB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.2757, allocations: 12.03 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.917e-05/0.2758, allocations: 40.55 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.2761, allocations: 272.8 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.2761, allocations: 24.94 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.2762, allocations: 28.38 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.2767, allocations: 319.9 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2767, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.2768, allocations: 12 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.2768, allocations: 8 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/0.2773, allocations: 238.1 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.2786, allocations: 0.9246 MB / 1.034 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.2791, allocations: 247.6 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.2793, allocations: 121.9 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.2794, allocations: 4.219 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002809/0.2797, allocations: 167.5 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.2797, allocations: 0 / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.0006636/0.2803, allocations: 325.3 kB / 1.034 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.2804, allocations: 59.39 kB / 1.034 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.2806, allocations: 200 kB / 1.035 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.2806, allocations: 41.64 kB / 1.035 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/0.2807, allocations: 160.6 kB / 1.035 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/0.2808, allocations: 78.92 kB / 1.035 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.2809, allocations: 77.69 kB / 1.035 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.281, allocations: 338.8 kB / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.2812, allocations: 91.95 kB / 1.035 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.2814, allocations: 153 kB / 1.036 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.2818, allocations: 204.8 kB / 1.036 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2818, allocations: 8 kB / 1.036 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005158/0.2823, allocations: 303.1 kB / 1.036 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2824, allocations: 11.98 kB / 1.036 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2824, allocations: 0 / 1.036 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2824, allocations: 7.938 kB / 1.036 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.2826, allocations: 39.92 kB / 1.036 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2826, allocations: 4.141 kB / 1.036 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.2828, allocations: 47.72 kB / 1.036 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.2829, allocations: 15.94 kB / 1.036 GB, free: 8.059 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.0001499/0.283, allocations: 173.7 kB / 1.036 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.2831, allocations: 27.72 kB / 1.036 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005409/0.2836, allocations: 277.5 kB / 1.037 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2836, allocations: 0 / 1.037 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2836, allocations: 4 kB / 1.037 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2836, allocations: 0 / 1.037 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009511/0.2846, allocations: 0.7334 MB / 1.037 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2846, allocations: 4 kB / 1.037 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2848, allocations: 31.92 kB / 1.037 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2848, allocations: 4 kB / 1.037 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.2848, allocations: 3.984 kB / 1.037 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2848, allocations: 4 kB / 1.037 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2848, allocations: 0 / 1.037 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.2853, allocations: 352.3 kB / 1.038 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.2853, allocations: 100.8 kB / 1.038 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.2854, allocations: 4 kB / 1.038 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.2856, allocations: 31.95 kB / 1.038 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/0.2857, allocations: 39.89 kB / 1.038 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.2857, allocations: 12 kB / 1.038 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.315e-05/0.2858, allocations: 140.2 kB / 1.038 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2858, allocations: 0 / 1.038 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003158/0.2861, allocations: 63.84 kB / 1.038 GB, free: 5.973 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.0001443/0.2863, allocations: 121.4 kB / 1.038 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004924/0.2868, allocations: 256.3 kB / 1.038 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2868, allocations: 0 / 1.038 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.287, allocations: 127.9 kB / 1.039 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.2874, allocations: 44.17 kB / 1.039 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007355/0.2882, allocations: 474.5 kB / 1.039 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.2884, allocations: 0.7564 MB / 1.04 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.2886, allocations: 30.27 kB / 1.04 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.2886, allocations: 31.42 kB / 1.04 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2887, allocations: 4 kB / 1.04 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of Templates: time 0.006133/0.2948, allocations: 3.033 MB / 1.043 GB, free: 1.094 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 gbode -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