Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.726/1.726, allocations: 297.8 MB / 313.7 MB, free: 164 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 187.8 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 0.6626 GB, free: 4.273 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007496/0.0007495, allocations: 96.69 kB / 0.7808 GB, free: 50.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003958, allocations: 16 kB / 0.9088 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7109/0.7113, allocations: 120.3 MB / 1.026 GB, free: 55.94 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1719/0.8832, allocations: 143.2 MB / 1.166 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.8835, allocations: 82.86 kB / 1.166 GB, free: 0.6914 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.00912/0.8927, allocations: 3.047 MB / 1.169 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8927, allocations: 2.688 kB / 1.169 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.8927, allocations: 0 / 1.169 GB, free: 14.51 MB / 0.7448 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.0004836/0.8932, allocations: 423.2 kB / 1.17 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.8932, allocations: 8.031 kB / 1.17 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.8933, allocations: 10.38 kB / 1.17 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.8934, allocations: 173.6 kB / 1.17 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.8934, allocations: 5.703 kB / 1.17 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.8935, allocations: 5.312 kB / 1.17 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.8936, allocations: 76.88 kB / 1.17 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.8937, allocations: 192 / 1.17 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.8937, allocations: 7.703 kB / 1.17 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.8937, allocations: 1.281 kB / 1.17 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.8938, allocations: 48.44 kB / 1.17 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.8944, allocations: 314.8 kB / 1.17 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.8945, allocations: 54.45 kB / 1.17 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.212e-05/0.8946, allocations: 33.92 kB / 1.17 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.8947, allocations: 1.188 kB / 1.17 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.8948, allocations: 85.42 kB / 1.17 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.8948, allocations: 0 / 1.17 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003715/0.8952, allocations: 144.8 kB / 1.171 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.8953, allocations: 57.86 kB / 1.171 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/0.8954, allocations: 129.1 kB / 1.171 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.8954, allocations: 29.7 kB / 1.171 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.8955, allocations: 88.67 kB / 1.171 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.8955, allocations: 16.52 kB / 1.171 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.8955, allocations: 0 / 1.171 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.8956, allocations: 327.3 kB / 1.171 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.964e-05/0.8957, allocations: 29.3 kB / 1.171 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.408e-05/0.8958, allocations: 55.02 kB / 1.171 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.896, allocations: 76.86 kB / 1.171 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.896, allocations: 0 / 1.171 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002263/0.8962, allocations: 123.6 kB / 1.171 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.8962, allocations: 9.438 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8963, allocations: 0.7031 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.8963, allocations: 0.9375 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.8964, allocations: 15.55 kB / 1.171 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.8964, allocations: 5.547 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.8965, allocations: 7.344 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.8965, allocations: 4.656 kB / 1.171 GB, free: 12.14 MB / 0.7448 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.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 8.991e-05/0.8966, allocations: 130.3 kB / 1.172 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.8966, allocations: 11.39 kB / 1.172 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.8966, allocations: 5.125 kB / 1.172 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8966, allocations: 0.6094 kB / 1.172 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.8966, allocations: 4 kB / 1.172 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.8966, allocations: 0.5156 kB / 1.172 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.8971, allocations: 389.9 kB / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8971, allocations: 1.125 kB / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.8972, allocations: 10.94 kB / 1.172 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8972, allocations: 0 / 1.172 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.8972, allocations: 5.312 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8972, allocations: 4.062 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8972, allocations: 0.6875 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.8975, allocations: 221.6 kB / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.8975, allocations: 81.77 kB / 1.172 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.8975, allocations: 0.6562 kB / 1.172 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.8976, allocations: 13.78 kB / 1.172 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.8977, allocations: 6.328 kB / 1.172 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.8977, allocations: 5.609 kB / 1.172 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.8977, allocations: 97.34 kB / 1.172 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8978, allocations: 0 / 1.172 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002984/0.8981, allocations: 50.47 kB / 1.172 GB, free: 11.1 MB / 0.7448 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.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.0003532/0.8984, allocations: 170.6 kB / 1.173 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.8987, allocations: 78.25 kB / 1.173 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8987, allocations: 0 / 1.173 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.022e-05/0.8988, allocations: 37.05 kB / 1.173 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.899, allocations: 11.05 kB / 1.173 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.8994, allocations: 217.8 kB / 1.173 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.8997, allocations: 0.692 MB / 1.174 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.386e-05/0.8997, allocations: 5.219 kB / 1.174 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.8998, allocations: 12.09 kB / 1.174 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/0.8998, allocations: 0 / 1.174 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of Templates: time 0.004444/0.9042, allocations: 1.504 MB / 1.175 GB, free: 9.086 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)