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.001549/0.001549, allocations: 106.6 kB / 16.36 MB, free: 6.258 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.002366/0.002366, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.584/2.584, allocations: 442.6 MB / 0.7166 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 59.75 kB / 0.8774 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3669, allocations: 153 MB / 1.027 GB, free: 1.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003841/0.3708, allocations: 2.048 MB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.3723, allocations: 0.7168 MB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.3725, allocations: 4 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.3728, allocations: 39.55 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.3729, allocations: 47.58 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006475/0.3736, allocations: 155.8 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005433/0.3741, allocations: 387.2 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005149/0.3747, allocations: 239.8 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.3749, allocations: 143.5 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.3752, allocations: 147.4 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.254e-05/0.3753, allocations: 40 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.3754, allocations: 40 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3755, allocations: 87.69 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.3757, allocations: 147.3 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.3763, allocations: 414.6 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3763, allocations: 3.938 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.206e-06/0.3763, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.3763, allocations: 0 / 1.031 GB, free: 13.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.001045/0.3774, allocations: 0.5729 MB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.3774, allocations: 12.03 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.437e-05/0.3775, allocations: 32.56 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.378, allocations: 276.9 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-05/0.3781, allocations: 24.94 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.784e-05/0.3782, allocations: 32.36 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006458/0.3788, allocations: 319.9 kB / 1.033 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3788, allocations: 4 kB / 1.033 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.3789, allocations: 11.98 kB / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.3789, allocations: 8 kB / 1.033 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000514/0.3794, allocations: 234.1 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.3811, allocations: 0.9285 MB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005465/0.3817, allocations: 248.3 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.3819, allocations: 121.2 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.3819, allocations: 240 / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/0.3823, allocations: 168 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 2.565e-06/0.3823, allocations: 0 / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.0007606/0.383, allocations: 333.2 kB / 1.034 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.3831, allocations: 55.41 kB / 1.035 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.3833, allocations: 200 kB / 1.035 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.3834, allocations: 37.7 kB / 1.035 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3835, allocations: 152.6 kB / 1.035 GB, free: 9.402 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.695e-05/0.3836, allocations: 82.92 kB / 1.035 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3838, allocations: 77.69 kB / 1.035 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3839, allocations: 334.8 kB / 1.035 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.3841, allocations: 95.95 kB / 1.035 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.3844, allocations: 153 kB / 1.036 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.3848, allocations: 208.8 kB / 1.036 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.3848, allocations: 4 kB / 1.036 GB, free: 8.414 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005671/0.3854, allocations: 311.1 kB / 1.036 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.3854, allocations: 8 kB / 1.036 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.3854, allocations: 0 / 1.036 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.3854, allocations: 7.938 kB / 1.036 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.3857, allocations: 39.91 kB / 1.036 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3857, allocations: 4 kB / 1.036 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.3859, allocations: 43.72 kB / 1.036 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.386, allocations: 12 kB / 1.036 GB, free: 7.992 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.0002198/0.3862, allocations: 173.8 kB / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.3862, allocations: 27.59 kB / 1.036 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005933/0.3868, allocations: 281.5 kB / 1.037 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.3869, allocations: 0 / 1.037 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3869, allocations: 3.984 kB / 1.037 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/0.387, allocations: 96.77 kB / 1.037 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.387, allocations: 12 kB / 1.037 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.3872, allocations: 23.97 kB / 1.037 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.3873, allocations: 35.95 kB / 1.037 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006286/0.3879, allocations: 368.9 kB / 1.037 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005021/0.3885, allocations: 422.5 kB / 1.038 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002443/0.3887, allocations: 128.4 kB / 1.038 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001254/0.3889, allocations: 132.3 kB / 1.038 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of Backend: time 5.71e-07/0.3889, allocations: 0 / 1.038 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008078/0.3897, allocations: 258.3 kB / 1.038 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of SimCode: time 0.001296/0.391, allocations: 0.8576 MB / 1.039 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of Templates: time 0.008042/0.399, allocations: 3.35 MB / 1.042 GB, free: 1.781 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 -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