Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002056/0.002056, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00285/0.00285, allocations: 191.9 kB / 16.25 MB, free: 6.617 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.473/1.473, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.811/2.811, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.88 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3568, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.003078/0.36, allocations: 1.541 MB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3615, allocations: 0.7361 MB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.3616, allocations: 4 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.574e-05/0.3617, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.442e-05/0.3618, allocations: 11.86 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007279/0.3625, allocations: 111.8 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.3627, allocations: 75.83 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3628, allocations: 11.98 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.3629, allocations: 35.91 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.363, allocations: 39.83 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.3631, allocations: 4 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.3633, allocations: 99.84 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.3634, allocations: 15.92 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.3634, allocations: 43.84 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.3637, allocations: 135.9 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3637, allocations: 0 / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3637, allocations: 0 / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3638, allocations: 0 / 1.07 GB, free: 7.941 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.0007246/0.3645, allocations: 417 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3645, allocations: 12.03 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.3646, allocations: 4.844 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.3647, allocations: 176.2 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.3648, allocations: 12.38 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.3648, allocations: 8.359 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.365, allocations: 69.97 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.365, allocations: 0 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.365, allocations: 0 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.365, allocations: 3.938 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.3652, allocations: 39.97 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006387/0.3658, allocations: 316.7 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.366, allocations: 50.56 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.221e-05/0.3661, allocations: 32.97 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.3661, allocations: 0 / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.3663, allocations: 75.38 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3663, allocations: 3.938 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003945/0.3667, allocations: 137.5 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.3668, allocations: 59.39 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3669, allocations: 117.8 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3669, allocations: 29.7 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.367, allocations: 100.2 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.367, allocations: 19.69 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.3671, allocations: 29.7 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3672, allocations: 322.8 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.575e-05/0.3673, allocations: 27.97 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.3674, allocations: 46.56 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.3676, allocations: 78.48 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3676, allocations: 0 / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002609/0.3679, allocations: 109.5 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3679, allocations: 4 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3679, allocations: 0 / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3679, allocations: 4.062 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.368, allocations: 27.92 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3681, allocations: 3.938 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.947e-05/0.3681, allocations: 4 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.3682, allocations: 4 kB / 1.073 GB, free: 5.395 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.437e-05/0.3683, allocations: 117.8 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.3683, allocations: 11.89 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.3683, allocations: 8.375 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3683, allocations: 4 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3683, allocations: 3.984 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3683, allocations: 4 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.3688, allocations: 386.3 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3688, allocations: 0 / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.3689, allocations: 4 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3689, allocations: 0 / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3689, allocations: 3.984 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3689, allocations: 4.469 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3689, allocations: 3.938 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.3692, allocations: 215.3 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.3693, allocations: 85 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.3693, allocations: 4 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.3694, allocations: 0 / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.3694, allocations: 15.92 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3695, allocations: 4 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.34e-05/0.3695, allocations: 91.27 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3695, allocations: 0 / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003033/0.3698, allocations: 36 kB / 1.074 GB, free: 4.312 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.0003586/0.3702, allocations: 164.2 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.3705, allocations: 79.88 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3705, allocations: 0 / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.3706, allocations: 31.98 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.3708, allocations: 11.98 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.3713, allocations: 200.9 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.3715, allocations: 0.6885 MB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.985e-05/0.3716, allocations: 4 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.3716, allocations: 11.42 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3716, allocations: 0 / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of Templates: time 0.003962/0.3756, allocations: 1.428 MB / 1.076 GB, free: 1.664 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)