Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001214, allocations: 194.4 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.799/2.799, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.92 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3435, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003081/0.3467, allocations: 1.533 MB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3481, allocations: 0.7284 MB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.3482, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.323e-05/0.3482, allocations: 3.938 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.476e-05/0.3483, allocations: 7.922 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005771/0.3489, allocations: 119.8 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.349, allocations: 67.84 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3491, allocations: 11.98 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.802e-05/0.3492, allocations: 43.83 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.433e-05/0.3493, allocations: 35.84 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3493, allocations: 4 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.3495, allocations: 95.91 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.178e-05/0.3496, allocations: 23.86 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.3496, allocations: 35.84 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.3499, allocations: 143.8 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3499, allocations: 4 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3499, allocations: 0 / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.3499, allocations: 0 / 1.07 GB, free: 7.91 MB / 0.8262 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.0006964/0.3506, allocations: 413 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3507, allocations: 12.03 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.3507, allocations: 8.844 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.3508, allocations: 176.2 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.3509, allocations: 4.359 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.3509, allocations: 8.375 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.3511, allocations: 69.97 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3511, allocations: 3.938 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3511, allocations: 0 / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3511, allocations: 0 / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.3513, allocations: 39.91 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006287/0.3519, allocations: 324.8 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.3521, allocations: 42.56 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.334e-05/0.3521, allocations: 32.97 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.3522, allocations: 11.94 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.3524, allocations: 75.38 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.3524, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004001/0.3528, allocations: 137.5 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.3529, allocations: 55.48 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.353, allocations: 121.8 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.353, allocations: 29.7 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.3531, allocations: 104 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.3531, allocations: 11.75 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.3531, allocations: 29.7 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3533, allocations: 326.8 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.3534, allocations: 27.98 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.292e-05/0.3535, allocations: 47 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.3536, allocations: 70.55 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3536, allocations: 3.938 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002175/0.3538, allocations: 113.8 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3539, allocations: 5.406 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3539, allocations: 4.062 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.3539, allocations: 4 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.354, allocations: 15.98 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.354, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.3541, allocations: 7.938 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3541, allocations: 7.938 kB / 1.073 GB, free: 5.367 MB / 0.8262 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.592e-05/0.3542, allocations: 121.8 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.3543, allocations: 7.906 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.3543, allocations: 16.31 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3543, allocations: 4 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3543, allocations: 0 / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3543, allocations: 0 / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.3548, allocations: 386.4 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3548, allocations: 0 / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.3548, allocations: 7.984 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3548, allocations: 0 / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3548, allocations: 4 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.3548, allocations: 0 / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3549, allocations: 11.88 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.3551, allocations: 203.4 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.3552, allocations: 89 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.3552, allocations: 4 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.928e-05/0.3553, allocations: 4 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.3554, allocations: 11.92 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.3554, allocations: 8 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.162e-05/0.3554, allocations: 95.42 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3554, allocations: 0 / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004612/0.3559, allocations: 36 kB / 1.074 GB, free: 4.277 MB / 0.8262 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.0003767/0.3563, allocations: 152.5 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.3565, allocations: 83.81 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3566, allocations: 0 / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.661e-05/0.3567, allocations: 35.92 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.3569, allocations: 7.984 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.3574, allocations: 201.5 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.3577, allocations: 0.6885 MB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.093e-05/0.3577, allocations: 7.984 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.3578, allocations: 11.44 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3578, allocations: 4 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of Templates: time 0.004082/0.3619, allocations: 1.412 MB / 1.076 GB, free: 1.637 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)