Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",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.01731/0.01732, allocations: 107 kB / 15.06 MB, free: 5.555 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.002253/0.002254, allocations: 184.7 kB / 15.95 MB, free: 5.52 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.282/2.282, allocations: 194.6 MB / 211.3 MB, free: 11.28 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.442/2.442, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006684/0.0006686, allocations: 12 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6989/0.6996, allocations: 98.71 MB / 0.6834 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002044/0.7017, allocations: 1.166 MB / 0.6846 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.7034, allocations: 0.7024 MB / 0.6852 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.7036, allocations: 7.938 kB / 0.6853 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.7036, allocations: 0.6562 kB / 0.6853 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.198e-05/0.7037, allocations: 15.97 kB / 0.6853 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006609/0.7044, allocations: 95.23 kB / 0.6854 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.7045, allocations: 42.86 kB / 0.6854 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.7046, allocations: 14.38 kB / 0.6854 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.7048, allocations: 35 kB / 0.6854 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.158e-05/0.7049, allocations: 32.2 kB / 0.6855 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.7049, allocations: 3.844 kB / 0.6855 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.7052, allocations: 65.28 kB / 0.6855 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.7052, allocations: 18.39 kB / 0.6856 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.7053, allocations: 31.77 kB / 0.6856 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.7055, allocations: 94.86 kB / 0.6857 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7055, allocations: 0 / 0.6857 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7055, allocations: 5.5 kB / 0.6857 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.7056, allocations: 0 / 0.6857 GB, free: 15.36 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006747/0.7062, allocations: 416 kB / 0.6861 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.7063, allocations: 10.23 kB / 0.6861 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.668e-05/0.7064, allocations: 37.2 kB / 0.6861 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.7064, allocations: 7.922 kB / 0.6861 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.7065, allocations: 180.6 kB / 0.6863 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.7066, allocations: 3.297 kB / 0.6863 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.7066, allocations: 3.344 kB / 0.6863 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.7069, allocations: 79.16 kB / 0.6864 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7069, allocations: 0 / 0.6864 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.7069, allocations: 0 / 0.6864 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.7069, allocations: 1.844 kB / 0.6864 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.7072, allocations: 48.77 kB / 0.6864 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008015/0.708, allocations: 316 kB / 0.6867 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.7082, allocations: 48.42 kB / 0.6868 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.7082, allocations: 1.156 kB / 0.6868 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.7085, allocations: 87.45 kB / 0.6869 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.916e-06/0.7085, allocations: 0.9062 kB / 0.6869 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0006353/0.7092, allocations: 151.9 kB / 0.687 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.7092, allocations: 54.72 kB / 0.6871 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.7094, allocations: 123 kB / 0.6872 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.7094, allocations: 30.73 kB / 0.6872 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.7095, allocations: 91.66 kB / 0.6873 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.7095, allocations: 16.06 kB / 0.6873 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.7095, allocations: 5.469 kB / 0.6873 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.038e-05/0.7096, allocations: 318.8 kB / 0.6876 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.7098, allocations: 33.34 kB / 0.6877 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.7099, allocations: 52.98 kB / 0.6877 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.7101, allocations: 34.48 kB / 0.6877 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7101, allocations: 1.125 kB / 0.6877 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004079/0.7105, allocations: 125.6 kB / 0.6879 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.7106, allocations: 4.969 kB / 0.6879 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.7106, allocations: 1.344 kB / 0.6879 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.7106, allocations: 5.328 kB / 0.6879 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.7108, allocations: 12.48 kB / 0.6879 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.7108, allocations: 1.406 kB / 0.6879 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.7109, allocations: 14.06 kB / 0.6879 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.711, allocations: 12.08 kB / 0.6879 GB, free: 13.38 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000114/0.7111, allocations: 119.9 kB / 0.688 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.7111, allocations: 8.047 kB / 0.688 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.7112, allocations: 10.23 kB / 0.688 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.7112, allocations: 5.078 kB / 0.6881 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7112, allocations: 1.953 kB / 0.6881 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.7112, allocations: 4.75 kB / 0.6881 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000659/0.7119, allocations: 379.2 kB / 0.6884 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.7119, allocations: 0 / 0.6884 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/0.712, allocations: 6.219 kB / 0.6884 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.712, allocations: 4.922 kB / 0.6884 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.712, allocations: 2.641 kB / 0.6884 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.7121, allocations: 5.125 kB / 0.6884 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7121, allocations: 0 / 0.6884 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.7125, allocations: 213.6 kB / 0.6886 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.7126, allocations: 83.38 kB / 0.6887 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.7126, allocations: 5.547 kB / 0.6887 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.7127, allocations: 13.83 kB / 0.6887 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.7128, allocations: 9.062 kB / 0.6887 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.7128, allocations: 3.172 kB / 0.6888 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.395e-05/0.7129, allocations: 96.52 kB / 0.6888 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7129, allocations: 3.938 kB / 0.6888 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004701/0.7134, allocations: 41.56 kB / 0.6889 GB, free: 12.53 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: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00103/0.7145, allocations: 0.8092 MB / 0.6897 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004237/0.7149, allocations: 84.5 kB / 0.6898 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.7149, allocations: 0 / 0.6898 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.7151, allocations: 35.48 kB / 0.6898 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.7154, allocations: 8.703 kB / 0.6898 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009775/0.7164, allocations: 0.7341 MB / 0.6905 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.7166, allocations: 0.6932 MB / 0.6912 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.084e-05/0.7167, allocations: 5.828 kB / 0.6912 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.7168, allocations: 16.23 kB / 0.6912 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.432e-06/0.7168, allocations: 0 / 0.6912 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.7425, allocations: 2.321 MB / 0.6935 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/0.7429, allocations: 245.4 kB / 0.6937 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.157, allocations: 0 / 0.6937 GB, free: 9.762 MB / 0.5261 GB