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.001649/0.001649, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.223 MB / 190.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.568/2.568, allocations: 437 MB / 0.7103 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.89 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6163/0.6178, allocations: 151.6 MB / 1.017 GB, free: 2.645 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003462/0.6213, allocations: 2.024 MB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.6226, allocations: 0.7052 MB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.6228, allocations: 7.938 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.6229, allocations: 35.61 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.6231, allocations: 39.59 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.6235, allocations: 159.7 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004071/0.624, allocations: 391.2 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003568/0.6243, allocations: 243.6 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.6245, allocations: 135.6 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.6247, allocations: 147.3 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.6248, allocations: 43.94 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.6249, allocations: 44 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.625, allocations: 79.8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.6251, allocations: 151.2 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.6255, allocations: 404.9 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6255, allocations: 4 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6256, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.6256, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 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.0008847/0.6265, allocations: 0.5767 MB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.6265, allocations: 8.031 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.628e-05/0.6266, allocations: 32.56 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.6269, allocations: 275.7 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.6269, allocations: 24.94 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.627, allocations: 28.38 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.6276, allocations: 320 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.6276, allocations: 3.938 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.6276, allocations: 16 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.6276, allocations: 4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.6281, allocations: 238.1 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.6295, allocations: 0.9285 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.63, allocations: 254.1 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.6303, allocations: 121.2 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.6303, allocations: 8.172 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003336/0.6307, allocations: 157 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.794e-06/0.6307, allocations: 0 / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0006912/0.6314, allocations: 333.2 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.6314, allocations: 59.39 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.6316, allocations: 203.3 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.6317, allocations: 41.7 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.6318, allocations: 164.5 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.16e-05/0.6318, allocations: 78.98 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.632, allocations: 77.69 kB / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6321, allocations: 330.8 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.6323, allocations: 91.95 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.6326, allocations: 161 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.633, allocations: 212.5 kB / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.633, allocations: 4 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005402/0.6335, allocations: 304.9 kB / 1.027 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.6335, allocations: 7.984 kB / 1.027 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.6336, allocations: 0 / 1.027 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.6336, allocations: 4 kB / 1.027 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.6338, allocations: 39.92 kB / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.6338, allocations: 12.14 kB / 1.027 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.634, allocations: 43.66 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.6341, allocations: 12 kB / 1.027 GB, free: 8.672 MB / 0.7794 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.0001892/0.6343, allocations: 171.2 kB / 1.027 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.6343, allocations: 23.72 kB / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005576/0.6349, allocations: 284.1 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6349, allocations: 4 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6349, allocations: 0 / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6349, allocations: 0 / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.636, allocations: 0.7292 MB / 1.028 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.636, allocations: 4 kB / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.6361, allocations: 27.92 kB / 1.028 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.6361, allocations: 0 / 1.028 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.6362, allocations: 11.98 kB / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6362, allocations: 0 / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6362, allocations: 0 / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.6367, allocations: 359.4 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/0.6368, allocations: 104.8 kB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.6368, allocations: 8 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.637, allocations: 27.95 kB / 1.028 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.6371, allocations: 39.89 kB / 1.028 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.6372, allocations: 8 kB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001059/0.6373, allocations: 139.2 kB / 1.029 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6373, allocations: 7.875 kB / 1.029 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003259/0.6376, allocations: 59.84 kB / 1.029 GB, free: 6.582 MB / 0.7794 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.0002126/0.6378, allocations: 117.5 kB / 1.029 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006038/0.6385, allocations: 267.7 kB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6385, allocations: 0 / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.6387, allocations: 128.1 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.6391, allocations: 39.91 kB / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008553/0.6399, allocations: 495.3 kB / 1.03 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.6403, allocations: 0.7603 MB / 1.03 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.6404, allocations: 30.28 kB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.6405, allocations: 27.44 kB / 1.03 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6405, allocations: 0 / 1.03 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of Templates: time 0.006924/0.6474, allocations: 3.03 MB / 1.033 GB, free: 1.684 MB / 0.7794 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/jenkins/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