Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.258/2.258, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 195.4 kB / 499.1 MB, free: 4.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 117.9 kB / 0.9329 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 49.42 kB / 1.081 GB, free: 218.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3161, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003765/0.3199, allocations: 1.53 MB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.3215, allocations: 0.7255 MB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.974e-05/0.3217, allocations: 0 / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 5.554e-05/0.3218, allocations: 7.938 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.351e-05/0.3218, allocations: 11.92 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007884/0.3226, allocations: 103.8 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.3228, allocations: 75.72 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3229, allocations: 11.98 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.3231, allocations: 31.91 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.455e-05/0.3232, allocations: 35.84 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.3232, allocations: 8 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.3235, allocations: 91.84 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.3236, allocations: 15.97 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.3236, allocations: 27.86 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.3239, allocations: 137.8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3239, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3239, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.324, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 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.0006915/0.3247, allocations: 428.9 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3247, allocations: 11.98 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.3248, allocations: 8.844 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.3249, allocations: 176.2 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.3249, allocations: 384 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.325, allocations: 4.375 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.3252, allocations: 77.95 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3252, allocations: 3.938 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.3252, allocations: 0 / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3252, allocations: 0 / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.3254, allocations: 47.97 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007607/0.3262, allocations: 316.6 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.3264, allocations: 46.5 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.732e-05/0.3265, allocations: 44.94 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.3265, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003001/0.3268, allocations: 83.36 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.3268, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0004609/0.3273, allocations: 137.6 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.3274, allocations: 55.41 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3275, allocations: 129.7 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3275, allocations: 25.7 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.3276, allocations: 88.14 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.3276, allocations: 11.81 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.3277, allocations: 37.64 kB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.3277, allocations: 322.8 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.3279, allocations: 27.98 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.328, allocations: 42.56 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.3282, allocations: 74.48 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.3282, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002967/0.3285, allocations: 121.5 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.3285, allocations: 4 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3286, allocations: 4 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3286, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3287, allocations: 11.98 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3287, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.83e-05/0.3288, allocations: 11.94 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.3289, allocations: 4 kB / 1.223 GB, free: 111.8 MB / 0.823 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,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.862e-05/0.329, allocations: 130.4 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.329, allocations: 7.906 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.329, allocations: 8.375 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.329, allocations: 4 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3291, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3291, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.3295, allocations: 374.4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3296, allocations: 4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.3296, allocations: 7.984 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3296, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3296, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.3297, allocations: 4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3297, allocations: 7.875 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/0.3302, allocations: 0.798 MB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.3303, allocations: 85.05 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.3303, allocations: 3.938 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.3305, allocations: 8 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.3305, allocations: 3.984 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.3305, allocations: 4 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.276e-05/0.3306, allocations: 91.27 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3306, allocations: 0 / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006002/0.3312, allocations: 47.98 kB / 1.225 GB, free: 110.1 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004389/0.3317, allocations: 165.4 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002685/0.3319, allocations: 71.91 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.332, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.3321, allocations: 44.03 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.3324, allocations: 7.938 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005388/0.333, allocations: 325.5 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.3331, allocations: 0.6926 MB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 4.945e-05/0.3332, allocations: 7.984 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.3332, allocations: 11.44 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.6e-07/0.3333, allocations: 0 / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of Templates: time 0.004668/0.3379, allocations: 1.404 MB / 1.227 GB, free: 107.3 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)