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.Nicol2001HeatingPakistan.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: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008835/0.008835, allocations: 110.2 kB / 15.06 MB, free: 6.031 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.001098/0.001098, allocations: 188.1 kB / 15.95 MB, free: 5.965 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 1.954/1.954, allocations: 194.6 MB / 211.3 MB, free: 11.29 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.281/2.281, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004887, allocations: 20 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5867/0.5872, allocations: 98.7 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.188/0.7753, allocations: 126.5 MB / 0.8069 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.7756, allocations: 83.95 kB / 0.8069 GB, free: 15.71 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01298/0.7886, allocations: 2.953 MB / 0.8098 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.912e-06/0.7887, allocations: 0 / 0.8098 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.496e-06/0.7887, allocations: 0 / 0.8098 GB, free: 12.75 MB / 0.6355 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.0006545/0.7894, allocations: 420.8 kB / 0.8102 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.7894, allocations: 8.031 kB / 0.8102 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.7895, allocations: 15.84 kB / 0.8102 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.7896, allocations: 174.9 kB / 0.8104 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.7897, allocations: 4 kB / 0.8104 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.7897, allocations: 8 kB / 0.8104 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.7899, allocations: 65.66 kB / 0.8105 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.79, allocations: 0 / 0.8105 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.79, allocations: 0 / 0.8105 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.802e-06/0.79, allocations: 7.938 kB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.7902, allocations: 43.97 kB / 0.8105 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007045/0.7909, allocations: 319.2 kB / 0.8108 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.7911, allocations: 54.48 kB / 0.8109 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.7911, allocations: 0 / 0.8109 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.7914, allocations: 87.56 kB / 0.811 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.76e-06/0.7914, allocations: 4 kB / 0.811 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005235/0.7919, allocations: 145.4 kB / 0.8111 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.792, allocations: 59.41 kB / 0.8112 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.7921, allocations: 112.9 kB / 0.8113 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.7922, allocations: 33.7 kB / 0.8113 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.7922, allocations: 96.25 kB / 0.8114 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.7923, allocations: 15.8 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-06/0.7923, allocations: 4 kB / 0.8114 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.7925, allocations: 318.8 kB / 0.8117 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.7926, allocations: 27.98 kB / 0.8118 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.7928, allocations: 54.55 kB / 0.8118 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.7929, allocations: 28 kB / 0.8118 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.609e-06/0.7929, allocations: 0 / 0.8118 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003624/0.7933, allocations: 125.5 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.7933, allocations: 4 kB / 0.812 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.124e-06/0.7933, allocations: 0 / 0.812 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7934, allocations: 0 / 0.812 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.7935, allocations: 19.92 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.079e-06/0.7935, allocations: 4.344 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.391e-05/0.7936, allocations: 7.984 kB / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.7937, allocations: 4 kB / 0.812 GB, free: 10.3 MB / 0.6355 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.0001284/0.7938, allocations: 121.9 kB / 0.8121 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.7938, allocations: 7.906 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.7939, allocations: 8.375 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.614e-06/0.7939, allocations: 0 / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.7939, allocations: 0 / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.501e-06/0.7939, allocations: 7.938 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006645/0.7946, allocations: 390.4 kB / 0.8125 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.964e-06/0.7946, allocations: 4 kB / 0.8125 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.965e-05/0.7947, allocations: 11.98 kB / 0.8125 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.003e-06/0.7947, allocations: 0 / 0.8125 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.7947, allocations: 3.938 kB / 0.8125 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.768e-06/0.7947, allocations: 3.953 kB / 0.8125 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.968e-06/0.7948, allocations: 0 / 0.8125 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.7952, allocations: 219.4 kB / 0.8127 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.7952, allocations: 85.02 kB / 0.8128 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.7953, allocations: 3.938 kB / 0.8128 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.7954, allocations: 7.984 kB / 0.8128 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.7955, allocations: 7.953 kB / 0.8128 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.7955, allocations: 3.984 kB / 0.8128 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.748e-05/0.7956, allocations: 95.28 kB / 0.8129 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.91e-07/0.7956, allocations: 0 / 0.8129 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004473/0.7961, allocations: 55.92 kB / 0.813 GB, free: 9.172 MB / 0.6355 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.000433/0.7965, allocations: 166.8 kB / 0.8131 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.7968, allocations: 87.88 kB / 0.8132 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.072e-06/0.7969, allocations: 0 / 0.8132 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.797, allocations: 35.98 kB / 0.8133 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.7972, allocations: 0 / 0.8133 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.7978, allocations: 219.1 kB / 0.8135 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.7982, allocations: 0.6887 MB / 0.8141 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.027e-05/0.7982, allocations: 8.172 kB / 0.8141 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.7983, allocations: 15.44 kB / 0.8142 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of SimCode: time 1.498e-06/0.7983, allocations: 0 / 0.8142 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of Templates: time 0.005536/0.8038, allocations: 1.527 MB / 0.8157 GB, free: 6.391 MB / 0.6355 GB