Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.00173/0.00173, allocations: 119.2 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.00204/0.00204, allocations: 190.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.379/1.379, 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 10.1.0-maint.10.0.x/package.mo): time 2.517/2.517, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 67.83 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.334, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003914/0.338, allocations: 2.031 MB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.3393, allocations: 0.7169 MB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.3395, allocations: 7.938 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.3396, allocations: 27.61 kB / 1.022 GB, free: 7.059 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.3398, allocations: 39.59 kB / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.3402, allocations: 163.7 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004422/0.3407, allocations: 403.1 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.3411, allocations: 240.4 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.3413, allocations: 135.5 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.3415, allocations: 143.3 kB / 1.023 GB, free: 5.957 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/0.3416, allocations: 44 kB / 1.023 GB, free: 5.914 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.3417, allocations: 44 kB / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.3418, allocations: 87.73 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.3419, allocations: 147.3 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.3424, allocations: 418.6 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3424, allocations: 0 / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3424, allocations: 0 / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.3425, allocations: 0 / 1.023 GB, free: 5.23 MB / 0.795 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.00097/0.3434, allocations: 0.569 MB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3435, allocations: 12.92 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.884e-05/0.3436, allocations: 36.55 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.344, allocations: 272.8 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.344, allocations: 20.94 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.3441, allocations: 32.38 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005854/0.3447, allocations: 316 kB / 1.025 GB, free: 3.895 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.3447, allocations: 4 kB / 1.025 GB, free: 3.891 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.3447, allocations: 8 kB / 1.025 GB, free: 3.883 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.3448, allocations: 8 kB / 1.025 GB, free: 3.875 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.3453, allocations: 242 kB / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.3468, allocations: 0.9285 MB / 1.026 GB, free: 2.645 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/0.3473, allocations: 245.1 kB / 1.026 GB, free: 2.398 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.3476, allocations: 129.2 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.3476, allocations: 4.172 kB / 1.026 GB, free: 2.266 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/0.3479, allocations: 159.5 kB / 1.026 GB, free: 2.098 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.3479, allocations: 0 / 1.026 GB, free: 2.098 MB / 0.795 GB Notification: Performance of matching and sorting (n=30): time 0.0007285/0.3487, allocations: 325.3 kB / 1.026 GB, free: 1.773 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.3487, allocations: 67.39 kB / 1.027 GB, free: 1.695 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.3489, allocations: 203.9 kB / 1.027 GB, free: 1.488 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.349, allocations: 37.7 kB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3491, allocations: 160.5 kB / 1.027 GB, free: 1.285 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.075e-05/0.3492, allocations: 82.92 kB / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.3493, allocations: 81.62 kB / 1.027 GB, free: 1.117 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3495, allocations: 334.8 kB / 1.027 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.3497, allocations: 91.95 kB / 1.028 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.3499, allocations: 161 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.3503, allocations: 210.1 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3503, allocations: 4 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005296/0.3508, allocations: 304.9 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3509, allocations: 8 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3509, allocations: 4.156 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3509, allocations: 4 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.3511, allocations: 43.84 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3511, allocations: 0 / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.3513, allocations: 47.72 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.3514, allocations: 8 kB / 1.028 GB, free: 15.87 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.0001864/0.3516, allocations: 185.7 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3516, allocations: 23.72 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005439/0.3522, allocations: 272.2 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3522, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3522, allocations: 4 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.3522, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009807/0.3532, allocations: 0.7348 MB / 1.029 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.3532, allocations: 7.938 kB / 1.029 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.3533, allocations: 23.98 kB / 1.029 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3534, allocations: 0 / 1.029 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.3534, allocations: 7.984 kB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3534, allocations: 4 kB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3534, allocations: 0 / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004813/0.3539, allocations: 360.8 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.411e-05/0.354, allocations: 100.8 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.354, allocations: 4 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.3542, allocations: 27.95 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.3543, allocations: 39.89 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.3543, allocations: 8 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.626e-05/0.3544, allocations: 131.2 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3545, allocations: 4 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003169/0.3548, allocations: 67.84 kB / 1.03 GB, free: 13.79 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.0001709/0.355, allocations: 121.4 kB / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004973/0.3555, allocations: 247.8 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3555, allocations: 320 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.3557, allocations: 131.9 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.3561, allocations: 35.92 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008181/0.3569, allocations: 472.2 kB / 1.031 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.3573, allocations: 0.7642 MB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.3574, allocations: 30.28 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.3575, allocations: 27.42 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3575, allocations: 0 / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of Templates: time 0.0066/0.3641, allocations: 3.044 MB / 1.035 GB, free: 8.902 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches