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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001379/0.001379, allocations: 103.3 kB / 16.27 MB, free: 5.969 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.001362/0.001362, allocations: 187.8 kB / 17.19 MB, free: 5.609 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.445/1.445, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437 MB / 0.711 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 73.27 kB / 0.8699 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4036, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.00444/0.4081, allocations: 2.038 MB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.4098, allocations: 0.7091 MB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.4101, allocations: 4 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.4104, allocations: 35.59 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.4106, allocations: 47.58 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.4113, allocations: 151.8 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006431/0.4119, allocations: 399.1 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004933/0.4124, allocations: 243.7 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.4127, allocations: 135.6 kB / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.413, allocations: 151.3 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.067e-05/0.4131, allocations: 36 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.4132, allocations: 51.98 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.76e-05/0.4133, allocations: 71.83 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.4135, allocations: 159.2 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00053/0.414, allocations: 403 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4141, allocations: 4 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4141, allocations: 0 / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.4141, allocations: 0 / 1.022 GB, free: 6.059 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.001215/0.4153, allocations: 0.5767 MB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.4154, allocations: 8.922 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.4155, allocations: 32.56 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.4159, allocations: 264.9 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.4159, allocations: 24.92 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/0.416, allocations: 32.38 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006565/0.4167, allocations: 323.9 kB / 1.024 GB, free: 4.719 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4167, allocations: 0 / 1.024 GB, free: 4.719 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.4167, allocations: 12 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.4167, allocations: 4 kB / 1.024 GB, free: 4.703 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.4173, allocations: 230.1 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.419, allocations: 0.9518 MB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/0.4195, allocations: 236.5 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.4198, allocations: 125.2 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.4198, allocations: 4.234 kB / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003921/0.4202, allocations: 163.4 kB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.4202, allocations: 0 / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of matching and sorting (n=30): time 0.0008386/0.4211, allocations: 325.3 kB / 1.026 GB, free: 2.602 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.4211, allocations: 59.41 kB / 1.026 GB, free: 2.531 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.4214, allocations: 211.9 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.4215, allocations: 41.7 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.4216, allocations: 148.6 kB / 1.026 GB, free: 2.121 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.321e-05/0.4217, allocations: 78.94 kB / 1.026 GB, free: 2.043 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.4219, allocations: 81.67 kB / 1.026 GB, free: 1.957 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4221, allocations: 334.8 kB / 1.027 GB, free: 1.621 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.4223, allocations: 91.95 kB / 1.027 GB, free: 1.531 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.4226, allocations: 156.9 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.423, allocations: 222.1 kB / 1.027 GB, free: 1.125 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.423, allocations: 0 / 1.027 GB, free: 1.125 MB / 0.795 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000647/0.4237, allocations: 300.9 kB / 1.027 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.4237, allocations: 4 kB / 1.027 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4237, allocations: 4.156 kB / 1.027 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.4238, allocations: 4 kB / 1.027 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.424, allocations: 47.91 kB / 1.027 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.424, allocations: 4 kB / 1.027 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.4243, allocations: 39.72 kB / 1.027 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.4243, allocations: 23.91 kB / 1.027 GB, free: 0.6992 MB / 0.795 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.0002215/0.4245, allocations: 181.6 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.4246, allocations: 27.7 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005925/0.4252, allocations: 272.2 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4252, allocations: 4 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4252, allocations: 0 / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.4252, allocations: 0 / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.4264, allocations: 0.7303 MB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4264, allocations: 3.984 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.4266, allocations: 31.92 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.4266, allocations: 0 / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.4266, allocations: 8 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4266, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4266, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.4272, allocations: 363.6 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.01e-05/0.4273, allocations: 104.7 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.4274, allocations: 8 kB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.4276, allocations: 23.97 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.4277, allocations: 39.89 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.4278, allocations: 7.984 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001278/0.4279, allocations: 135.2 kB / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4279, allocations: 0 / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003701/0.4283, allocations: 59.84 kB / 1.029 GB, free: 14.62 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.0002266/0.4285, allocations: 129.4 kB / 1.029 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000646/0.4292, allocations: 260 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4292, allocations: 4.062 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.4294, allocations: 127.8 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.4298, allocations: 33.48 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.4309, allocations: 0.5002 MB / 1.03 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.4314, allocations: 0.7641 MB / 1.031 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.4315, allocations: 27.42 kB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of SimCode: time 8.42e-07/0.4315, allocations: 0 / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of Templates: time 0.00839/0.4399, allocations: 3.389 MB / 1.034 GB, free: 9.348 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 -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