Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.413/2.413, allocations: 251.1 MB / 266.1 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002547/0.002547, allocations: 190.3 kB / 325.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.598/2.598, allocations: 205.4 MB / 0.5766 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 96.97 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006124/0.0006125, allocations: 10.12 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2465, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002386/0.2489, allocations: 1.188 MB / 0.9 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.2509, allocations: 0.7268 MB / 0.9007 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.251, allocations: 0 / 0.9007 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.251, allocations: 3.938 kB / 0.9007 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.508e-05/0.2511, allocations: 11.97 kB / 0.9008 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000678/0.2518, allocations: 95.64 kB / 0.9009 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.252, allocations: 43.94 kB / 0.9009 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2521, allocations: 15.98 kB / 0.9009 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.2522, allocations: 27.91 kB / 0.9009 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.2523, allocations: 39.83 kB / 0.901 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.2524, allocations: 4 kB / 0.901 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.2526, allocations: 59.94 kB / 0.901 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.2527, allocations: 19.91 kB / 0.9011 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.2527, allocations: 33.7 kB / 0.9011 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.253, allocations: 99.77 kB / 0.9012 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.253, allocations: 0 / 0.9012 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.253, allocations: 0 / 0.9012 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.253, allocations: 0 / 0.9012 GB, free: 63.56 MB / 0.6042 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.0007265/0.2538, allocations: 412.8 kB / 0.9016 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.2538, allocations: 12.03 kB / 0.9016 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.2539, allocations: 11.86 kB / 0.9016 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.254, allocations: 163 kB / 0.9018 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.2541, allocations: 4 kB / 0.9018 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.2541, allocations: 4 kB / 0.9018 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.2544, allocations: 81.62 kB / 0.9018 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2545, allocations: 3.938 kB / 0.9018 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.2548, allocations: 0 / 0.9018 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2549, allocations: 4 kB / 0.9018 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.2551, allocations: 43.92 kB / 0.9019 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009451/0.2561, allocations: 320.7 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.2564, allocations: 54.5 kB / 0.9022 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.2564, allocations: 0 / 0.9022 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002972/0.2567, allocations: 83.5 kB / 0.9023 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.465e-06/0.2567, allocations: 0 / 0.9023 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0007367/0.2575, allocations: 157.5 kB / 0.9025 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.2576, allocations: 59.39 kB / 0.9025 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2577, allocations: 125.8 kB / 0.9027 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.2577, allocations: 25.7 kB / 0.9027 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.2578, allocations: 92.31 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.2578, allocations: 11.81 kB / 0.9028 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.2579, allocations: 4 kB / 0.9028 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.326e-05/0.258, allocations: 314.8 kB / 0.9031 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.2581, allocations: 35.97 kB / 0.9031 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.2583, allocations: 46.56 kB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.2586, allocations: 31.98 kB / 0.9032 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2586, allocations: 0 / 0.9032 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004916/0.2591, allocations: 129.5 kB / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.2591, allocations: 4 kB / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2592, allocations: 0 / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.2592, allocations: 3.953 kB / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.2594, allocations: 19.92 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.2594, allocations: 0 / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.2596, allocations: 15.91 kB / 0.9034 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.2596, allocations: 8 kB / 0.9034 GB, free: 61.09 MB / 0.6042 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.0001211/0.2598, allocations: 117.8 kB / 0.9035 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.2598, allocations: 4 kB / 0.9035 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.026e-05/0.2599, allocations: 12.38 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.2599, allocations: 0 / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2599, allocations: 3.953 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.2599, allocations: 4 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007884/0.2607, allocations: 378.4 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2608, allocations: 4 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-05/0.2609, allocations: 7.984 kB / 0.9039 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.2609, allocations: 4 kB / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.2609, allocations: 7.938 kB / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.2609, allocations: 4 kB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2609, allocations: 3.938 kB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/0.2615, allocations: 219.4 kB / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.2615, allocations: 89 kB / 0.9042 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.2616, allocations: 0 / 0.9042 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.2618, allocations: 11.95 kB / 0.9042 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.2619, allocations: 11.98 kB / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.2619, allocations: 0 / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.83e-05/0.262, allocations: 91.27 kB / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/0.262, allocations: 4 kB / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006515/0.2627, allocations: 39.98 kB / 0.9043 GB, free: 60 MB / 0.6042 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.0005109/0.2632, allocations: 158.6 kB / 0.9045 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004847/0.2637, allocations: 79.89 kB / 0.9046 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2637, allocations: 0 / 0.9046 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.264, allocations: 40.11 kB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.2643, allocations: 11.92 kB / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.2649, allocations: 211.1 kB / 0.9048 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.2652, allocations: 0.6965 MB / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.038e-05/0.2653, allocations: 4.125 kB / 0.9055 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.2653, allocations: 11.44 kB / 0.9055 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of SimCode: time 1.253e-06/0.2653, allocations: 0 / 0.9055 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.006629/0.272, allocations: 1.335 MB / 0.9068 GB, free: 57.42 MB / 0.6042 GB