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.01246/0.01247, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.001167/0.001167, allocations: 174.5 kB / 16.06 MB, free: 5.832 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 3.802/3.802, allocations: 389.1 MB / 405.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.285/4.285, allocations: 472.3 MB / 0.9018 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.000487, allocations: 16 kB / 1.008 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6621/0.6627, allocations: 98.7 MB / 1.104 GB, free: 212.9 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001842/0.6646, allocations: 1.174 MB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.666, allocations: 0.708 MB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.6661, allocations: 0 / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.6661, allocations: 1.734 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.193e-05/0.6662, allocations: 10.56 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.6667, allocations: 92.25 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.6668, allocations: 72.42 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.667, allocations: 11.44 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.6671, allocations: 29.73 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.544e-05/0.6672, allocations: 32.44 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.6672, allocations: 3.688 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.6674, allocations: 89.16 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/0.6675, allocations: 11.97 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.6675, allocations: 36.23 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.6677, allocations: 98.53 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6677, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6678, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.6678, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 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.0006228/0.6684, allocations: 410.4 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.6685, allocations: 9.531 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.6685, allocations: 39.48 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.6685, allocations: 10.58 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.6687, allocations: 175.1 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.6687, allocations: 2.625 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.6687, allocations: 10.73 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.669, allocations: 79.22 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.669, allocations: 1.5 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.669, allocations: 1.469 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.669, allocations: 1.094 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.6693, allocations: 47.73 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007261/0.67, allocations: 311 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.6702, allocations: 56.17 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.6704, allocations: 34.27 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.6704, allocations: 3.047 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.6706, allocations: 85.53 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.6707, allocations: 0 / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0005893/0.6713, allocations: 150.8 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.6713, allocations: 57.31 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.053e-05/0.6714, allocations: 129.5 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.6714, allocations: 26.45 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.6715, allocations: 94.02 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.6715, allocations: 14.38 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-06/0.6716, allocations: 0 / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.6716, allocations: 319.8 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.6718, allocations: 33.58 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.6719, allocations: 54.42 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.6721, allocations: 30.27 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6721, allocations: 3.094 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003654/0.6725, allocations: 116.2 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.6725, allocations: 11.89 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.6725, allocations: 5.078 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6726, allocations: 0.9688 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.6727, allocations: 16.94 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.6727, allocations: 4.281 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.6729, allocations: 16.98 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.6729, allocations: 8.156 kB / 1.109 GB, free: 209.7 MB / 0.7292 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 9.663e-05/0.673, allocations: 120.5 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.673, allocations: 7.641 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.6731, allocations: 15.06 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.6731, allocations: 5.453 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.6731, allocations: 0 / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.6731, allocations: 1.344 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006021/0.6737, allocations: 379.2 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.6737, allocations: 7.75 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.198e-05/0.6738, allocations: 8.422 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.6738, allocations: 8.031 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.6739, allocations: 6.984 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6739, allocations: 0 / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6739, allocations: 0 / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.6743, allocations: 219.8 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.6743, allocations: 85.28 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.6744, allocations: 5.047 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.6745, allocations: 5.453 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.6746, allocations: 14.38 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.6746, allocations: 2.094 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.6747, allocations: 90.97 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6747, allocations: 0 / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004398/0.6751, allocations: 42.5 kB / 1.11 GB, free: 208.9 MB / 0.7292 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.000918/0.6761, allocations: 0.8009 MB / 1.11 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003639/0.6764, allocations: 80.94 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6765, allocations: 0 / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.6766, allocations: 38.72 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.677, allocations: 19.31 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.6783, allocations: 0.6059 MB / 1.111 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.6785, allocations: 0.6928 MB / 1.112 GB, free: 207 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.973e-05/0.6786, allocations: 6.109 kB / 1.112 GB, free: 207 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.6787, allocations: 20.78 kB / 1.112 GB, free: 207 MB / 0.7292 GB Notification: Performance of SimCode: time 9.01e-07/0.6787, allocations: 0 / 1.112 GB, free: 207 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.7005, allocations: 2.335 MB / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.7008, allocations: 251 kB / 1.114 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/3.243, allocations: 4.938 kB / 1.114 GB, free: 206.6 MB / 0.7292 GB