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.Nicol2001HeatingUK.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.Nicol2001HeatingUK,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",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.01362/0.01362, allocations: 107.2 kB / 15.06 MB, free: 6.027 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.001282/0.001282, allocations: 181 kB / 15.95 MB, free: 5.953 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.031/2.031, allocations: 194.6 MB / 211.3 MB, free: 11.1 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.467/2.467, allocations: 236.2 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007711/0.0007714, allocations: 16 kB / 0.587 GB, free: 2.109 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7014/0.7023, allocations: 98.7 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001931/0.7043, allocations: 1.167 MB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.7059, allocations: 0.7011 MB / 0.6853 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.501e-05/0.7061, allocations: 0 / 0.6853 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.7061, allocations: 6.719 kB / 0.6853 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.361e-05/0.7062, allocations: 10.33 kB / 0.6853 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.7069, allocations: 95.77 kB / 0.6854 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.707, allocations: 42.22 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.7071, allocations: 15.61 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.7072, allocations: 33.72 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.779e-05/0.7073, allocations: 32.47 kB / 0.6855 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.7074, allocations: 4.219 kB / 0.6855 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.7076, allocations: 69.06 kB / 0.6855 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.7076, allocations: 14.58 kB / 0.6856 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.7077, allocations: 31.45 kB / 0.6856 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.7079, allocations: 98.98 kB / 0.6857 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.708, allocations: 0 / 0.6857 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.904e-06/0.708, allocations: 1.281 kB / 0.6857 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.708, allocations: 4 kB / 0.6857 GB, free: 15.24 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.0006759/0.7087, allocations: 409.1 kB / 0.6861 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.7087, allocations: 10.28 kB / 0.6861 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.7088, allocations: 36.06 kB / 0.6861 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.7088, allocations: 11.64 kB / 0.6861 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.709, allocations: 176 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.709, allocations: 3.234 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.7091, allocations: 8.688 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.7093, allocations: 69.88 kB / 0.6864 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.7094, allocations: 4.875 kB / 0.6864 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.7094, allocations: 0.5625 kB / 0.6864 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7094, allocations: 1.312 kB / 0.6864 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.7096, allocations: 49.89 kB / 0.6864 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008475/0.7105, allocations: 321.8 kB / 0.6867 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.7107, allocations: 53.7 kB / 0.6868 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.7108, allocations: 1.125 kB / 0.6868 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.711, allocations: 78.78 kB / 0.6869 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 3.356e-06/0.7111, allocations: 1 kB / 0.6869 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0006361/0.7117, allocations: 153.2 kB / 0.687 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.7118, allocations: 53.23 kB / 0.6871 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.7119, allocations: 123.3 kB / 0.6872 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.7119, allocations: 26.73 kB / 0.6872 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.712, allocations: 96.25 kB / 0.6873 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.712, allocations: 16.58 kB / 0.6873 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/0.7121, allocations: 0 / 0.6873 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.546e-05/0.7121, allocations: 323.7 kB / 0.6876 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.7123, allocations: 29.16 kB / 0.6877 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.7125, allocations: 52.84 kB / 0.6877 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.7126, allocations: 38.8 kB / 0.6877 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.7126, allocations: 0 / 0.6877 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004025/0.7131, allocations: 113.8 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.7131, allocations: 5.281 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.7131, allocations: 1.688 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.7131, allocations: 9.422 kB / 0.6879 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.7133, allocations: 19.56 kB / 0.6879 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.7133, allocations: 1.25 kB / 0.6879 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.7135, allocations: 12.84 kB / 0.6879 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.7135, allocations: 7.438 kB / 0.6879 GB, free: 13.28 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.0001079/0.7136, allocations: 114.7 kB / 0.688 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.7137, allocations: 11.23 kB / 0.688 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.7137, allocations: 9.469 kB / 0.688 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7137, allocations: 8.922 kB / 0.688 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.7137, allocations: 0 / 0.688 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.7137, allocations: 1.219 kB / 0.688 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006676/0.7144, allocations: 378 kB / 0.6884 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.7144, allocations: 5.453 kB / 0.6884 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.7145, allocations: 6.375 kB / 0.6884 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.7145, allocations: 7.953 kB / 0.6884 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.7146, allocations: 2.922 kB / 0.6884 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.7146, allocations: 0 / 0.6884 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7146, allocations: 1.5 kB / 0.6884 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.715, allocations: 223.5 kB / 0.6886 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.7151, allocations: 87.91 kB / 0.6887 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.7151, allocations: 5.75 kB / 0.6887 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.7153, allocations: 6.891 kB / 0.6887 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.7153, allocations: 8.844 kB / 0.6887 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.7154, allocations: 2.969 kB / 0.6887 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.222e-05/0.7154, allocations: 95.92 kB / 0.6888 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7155, allocations: 1.219 kB / 0.6888 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004749/0.7159, allocations: 41.89 kB / 0.6889 GB, free: 12.42 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.001008/0.717, allocations: 0.8122 MB / 0.6897 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003953/0.7174, allocations: 76.42 kB / 0.6897 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7174, allocations: 0 / 0.6897 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.7176, allocations: 36.23 kB / 0.6898 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.7178, allocations: 18.03 kB / 0.6898 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009427/0.7188, allocations: 0.7203 MB / 0.6905 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.719, allocations: 0.6943 MB / 0.6912 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.724e-05/0.7191, allocations: 6.172 kB / 0.6912 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.7191, allocations: 15.36 kB / 0.6912 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of SimCode: time 1.283e-06/0.7191, allocations: 0 / 0.6912 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.7471, allocations: 2.319 MB / 0.6935 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000292/0.7474, allocations: 253 kB / 0.6937 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/3.323, allocations: 1.156 kB / 0.6937 GB, free: 9.66 MB / 0.5261 GB