Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01156/0.01157, allocations: 106.8 kB / 15.06 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001272/0.001272, allocations: 181.2 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.148/2.148, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.366/2.366, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004666, allocations: 12 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.679/0.6795, allocations: 98.73 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002724/0.6822, allocations: 1.679 MB / 0.6851 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.6841, allocations: 0.7058 MB / 0.6858 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.6844, allocations: 4.406 kB / 0.6858 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.6845, allocations: 31.72 kB / 0.6858 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.6847, allocations: 33.92 kB / 0.6858 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.6852, allocations: 102.2 kB / 0.6859 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005043/0.6857, allocations: 223 kB / 0.6862 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005119/0.6863, allocations: 189.7 kB / 0.6863 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.6865, allocations: 89.28 kB / 0.6864 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.6868, allocations: 119.6 kB / 0.6865 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.6868, allocations: 12.56 kB / 0.6865 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.687, allocations: 18.09 kB / 0.6866 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.536e-05/0.687, allocations: 51.22 kB / 0.6866 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.525e-05/0.6871, allocations: 70.25 kB / 0.6867 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.6876, allocations: 292.9 kB / 0.687 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6877, allocations: 3.938 kB / 0.687 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.365e-06/0.6877, allocations: 0 / 0.687 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.6877, allocations: 0 / 0.687 GB, free: 14.5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001008/0.6887, allocations: 0.5137 MB / 0.6875 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.6888, allocations: 9.375 kB / 0.6875 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.641e-05/0.6889, allocations: 63.67 kB / 0.6875 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.054e-05/0.689, allocations: 38.53 kB / 0.6876 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.6893, allocations: 264.1 kB / 0.6878 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.6894, allocations: 25.89 kB / 0.6878 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.6895, allocations: 31.28 kB / 0.6879 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009172/0.6904, allocations: 307 kB / 0.6882 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.6904, allocations: 0 / 0.6882 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.6905, allocations: 11.66 kB / 0.6882 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.6905, allocations: 14.27 kB / 0.6882 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008332/0.6914, allocations: 244.4 kB / 0.6884 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.6935, allocations: 0.9363 MB / 0.6893 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008304/0.6944, allocations: 252.8 kB / 0.6896 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.6944, allocations: 4.234 kB / 0.6896 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005023/0.695, allocations: 163.8 kB / 0.6897 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.895e-06/0.695, allocations: 1.156 kB / 0.6897 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.001164/0.6962, allocations: 335.7 kB / 0.6901 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.6962, allocations: 57.31 kB / 0.6901 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.6965, allocations: 198.8 kB / 0.6903 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.6966, allocations: 39.91 kB / 0.6903 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.6967, allocations: 157.8 kB / 0.6905 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/0.6968, allocations: 80.36 kB / 0.6906 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.6969, allocations: 5.812 kB / 0.6906 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.697, allocations: 339.9 kB / 0.6909 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.6973, allocations: 99.64 kB / 0.691 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.6977, allocations: 154.8 kB / 0.6911 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.6981, allocations: 93.94 kB / 0.6912 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.6982, allocations: 1.125 kB / 0.6912 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009162/0.6991, allocations: 317.3 kB / 0.6915 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.6991, allocations: 5.062 kB / 0.6915 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.6991, allocations: 1.859 kB / 0.6915 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.6992, allocations: 3.469 kB / 0.6916 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.6995, allocations: 43.67 kB / 0.6916 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.6996, allocations: 4.469 kB / 0.6916 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.7, allocations: 57.64 kB / 0.6917 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.7, allocations: 14.92 kB / 0.6917 GB, free: 11.38 MB / 0.5261 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,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002664/0.7003, allocations: 176.3 kB / 0.6918 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.7004, allocations: 22.39 kB / 0.6919 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009136/0.7013, allocations: 290.9 kB / 0.6921 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.7013, allocations: 3.438 kB / 0.6921 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7014, allocations: 4.75 kB / 0.6921 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.7014, allocations: 1.312 kB / 0.6921 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.703, allocations: 0.739 MB / 0.6929 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7031, allocations: 0 / 0.6929 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.7034, allocations: 28.22 kB / 0.6929 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.7034, allocations: 5 kB / 0.6929 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.7034, allocations: 8.359 kB / 0.6929 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.7035, allocations: 1.125 kB / 0.6929 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.7035, allocations: 4.469 kB / 0.6929 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.7043, allocations: 358.5 kB / 0.6933 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.7043, allocations: 100 kB / 0.6933 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/0.7044, allocations: 7.656 kB / 0.6934 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.7048, allocations: 39.09 kB / 0.6934 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.705, allocations: 42.38 kB / 0.6934 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.705, allocations: 6.984 kB / 0.6934 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001476/0.7052, allocations: 136.1 kB / 0.6936 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7052, allocations: 0 / 0.6936 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005153/0.7057, allocations: 61.38 kB / 0.6936 GB, free: 10.13 MB / 0.5261 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.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/0.7068, allocations: 0.9184 MB / 0.6945 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008942/0.7077, allocations: 261.2 kB / 0.6948 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7078, allocations: 0 / 0.6948 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.7082, allocations: 130.2 kB / 0.6949 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.7086, allocations: 29.23 kB / 0.6949 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.7122, allocations: 2.175 MB / 0.697 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.7125, allocations: 0.7649 MB / 0.6978 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.7128, allocations: 32.8 kB / 0.6978 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.713, allocations: 84.14 kB / 0.6979 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/0.713, allocations: 1.531 kB / 0.6979 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03209/0.7451, allocations: 4.919 MB / 0.7027 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/0.7455, allocations: 217.6 kB / 0.7029 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/3.119, allocations: 0 / 0.7029 GB, free: 4.852 MB / 0.5261 GB