Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.008391/0.008392, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001449/0.00145, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 65.36 kB / 0.9508 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.338, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003772/0.3419, allocations: 2.037 MB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.3435, allocations: 0.7052 MB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.3438, allocations: 4 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.344, allocations: 27.61 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.3442, allocations: 51.53 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.3448, allocations: 155.8 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000597/0.3454, allocations: 395.1 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005411/0.3459, allocations: 247.7 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.3462, allocations: 143.5 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.3465, allocations: 143.4 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.24e-05/0.3466, allocations: 40 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.3467, allocations: 40 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3468, allocations: 83.75 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.347, allocations: 151.2 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005949/0.3476, allocations: 422.6 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3476, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3476, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.3476, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 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.001167/0.3488, allocations: 0.5729 MB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3489, allocations: 8.031 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.515e-05/0.349, allocations: 32.56 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.3494, allocations: 284.6 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.3495, allocations: 24.94 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.3495, allocations: 32.38 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006043/0.3502, allocations: 320 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3502, allocations: 0 / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.3502, allocations: 12 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3502, allocations: 8 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/0.3507, allocations: 234.1 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.3524, allocations: 0.9323 MB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005808/0.353, allocations: 241.1 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.3532, allocations: 125.2 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.3533, allocations: 4.234 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003194/0.3536, allocations: 164 kB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.3536, allocations: 4 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0007952/0.3544, allocations: 325.2 kB / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.3545, allocations: 59.41 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.3547, allocations: 206.2 kB / 1.096 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.3548, allocations: 37.7 kB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.3549, allocations: 148.6 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.527e-05/0.3551, allocations: 82.92 kB / 1.096 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.3552, allocations: 81.67 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.3554, allocations: 338.8 kB / 1.097 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.3556, allocations: 95.95 kB / 1.097 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.3559, allocations: 148.8 kB / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.3563, allocations: 216.7 kB / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3563, allocations: 0 / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005918/0.3569, allocations: 312.6 kB / 1.097 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.357, allocations: 4 kB / 1.097 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.357, allocations: 4 kB / 1.097 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.357, allocations: 3.938 kB / 1.097 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.3572, allocations: 43.91 kB / 1.097 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.3573, allocations: 4 kB / 1.097 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.3575, allocations: 39.72 kB / 1.097 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.254e-05/0.3575, allocations: 20.16 kB / 1.097 GB, free: 7.496 MB / 0.8575 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.0002035/0.3578, allocations: 177.6 kB / 1.098 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.3578, allocations: 19.72 kB / 1.098 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006188/0.3584, allocations: 276.7 kB / 1.098 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.3584, allocations: 7.984 kB / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3585, allocations: 0 / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.3585, allocations: 7.984 kB / 1.098 GB, free: 7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.3596, allocations: 0.7216 MB / 1.099 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3596, allocations: 0 / 1.099 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.3598, allocations: 31.92 kB / 1.099 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-06/0.3598, allocations: 7.984 kB / 1.099 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.3598, allocations: 4 kB / 1.099 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3598, allocations: 0 / 1.099 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3598, allocations: 4 kB / 1.099 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/0.3604, allocations: 348.9 kB / 1.099 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.3604, allocations: 100.8 kB / 1.099 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.3605, allocations: 11.98 kB / 1.099 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.3607, allocations: 27.91 kB / 1.099 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.3608, allocations: 43.89 kB / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.3609, allocations: 12 kB / 1.099 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001197/0.361, allocations: 137.5 kB / 1.099 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.21e-07/0.361, allocations: 0 / 1.099 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003776/0.3614, allocations: 67.84 kB / 1.099 GB, free: 5.41 MB / 0.8575 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.0002192/0.3616, allocations: 123.6 kB / 1.099 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005697/0.3622, allocations: 263.8 kB / 1.1 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3622, allocations: 0 / 1.1 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.3625, allocations: 127.8 kB / 1.1 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.3629, allocations: 31.98 kB / 1.1 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009361/0.3638, allocations: 466.8 kB / 1.1 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.3642, allocations: 0.7603 MB / 1.101 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.3643, allocations: 34.27 kB / 1.101 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.3644, allocations: 27.38 kB / 1.101 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of SimCode: time 2.8e-07/0.3644, allocations: 0 / 1.101 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of Templates: time 0.006764/0.3712, allocations: 3.086 MB / 1.104 GB, free: 488 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches