Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.594/1.594, allocations: 289.9 MB / 297.4 MB, free: 6.379 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001428/0.001428, allocations: 180.9 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007914/0.0007914, allocations: 90.97 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.074e-05/1.075e-05, allocations: 0 / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5678/0.5679, allocations: 116.3 MB / 0.9732 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.7428, allocations: 140.2 MB / 1.11 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/0.7432, allocations: 80.7 kB / 1.11 GB, free: 9.879 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.0107/0.7539, allocations: 2.962 MB / 1.113 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.263e-06/0.754, allocations: 0.6562 kB / 1.113 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.754, allocations: 4 kB / 1.113 GB, free: 6.938 MB / 0.7136 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.0005549/0.7545, allocations: 409.9 kB / 1.114 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.7546, allocations: 12.03 kB / 1.114 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.7546, allocations: 8.844 kB / 1.114 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.7548, allocations: 178.9 kB / 1.114 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.7548, allocations: 4 kB / 1.114 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.7549, allocations: 4.531 kB / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.1e-05/0.7549, allocations: 20.81 kB / 1.114 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.823e-05/0.755, allocations: 53.67 kB / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.7551, allocations: 1.469 kB / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.7551, allocations: 0 / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.7551, allocations: 7.562 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.7557, allocations: 292.8 kB / 1.114 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.492e-05/0.7558, allocations: 34.58 kB / 1.114 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.7558, allocations: 32.91 kB / 1.114 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.7559, allocations: 2.938 kB / 1.114 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.756, allocations: 71.3 kB / 1.114 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.756, allocations: 0 / 1.114 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002348/0.7562, allocations: 93.67 kB / 1.114 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.7563, allocations: 59.41 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.347e-05/0.7564, allocations: 114.5 kB / 1.115 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.7564, allocations: 29.64 kB / 1.115 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.7564, allocations: 94.73 kB / 1.115 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.7565, allocations: 11.75 kB / 1.115 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/0.7565, allocations: 0 / 1.115 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.7566, allocations: 326.8 kB / 1.115 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.739e-05/0.7567, allocations: 16 kB / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.333e-05/0.7567, allocations: 40.47 kB / 1.115 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.815e-05/0.7568, allocations: 16.78 kB / 1.115 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7568, allocations: 0 / 1.115 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001727/0.757, allocations: 103 kB / 1.115 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.757, allocations: 5.094 kB / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.757, allocations: 0 / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.757, allocations: 64 / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/0.7571, allocations: 19.98 kB / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.7571, allocations: 0 / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.265e-05/0.7572, allocations: 7.938 kB / 1.115 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.7572, allocations: 10.17 kB / 1.115 GB, free: 4.711 MB / 0.7136 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 () * 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.301e-05/0.7573, allocations: 112.9 kB / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.7573, allocations: 7.906 kB / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.7574, allocations: 4.625 kB / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.7574, allocations: 4 kB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.7574, allocations: 0 / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.7574, allocations: 0 / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.7577, allocations: 343 kB / 1.116 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7578, allocations: 0 / 1.116 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.7578, allocations: 4 kB / 1.116 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.7578, allocations: 0 / 1.116 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.7578, allocations: 3.984 kB / 1.116 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7578, allocations: 1.406 kB / 1.116 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7579, allocations: 8 kB / 1.116 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.7581, allocations: 191.4 kB / 1.116 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.7581, allocations: 85.05 kB / 1.116 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.7581, allocations: 0 / 1.116 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-05/0.7582, allocations: 7.984 kB / 1.116 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.7583, allocations: 7.984 kB / 1.116 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.7583, allocations: 7.984 kB / 1.116 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.293e-05/0.7583, allocations: 93.58 kB / 1.116 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.808e-06/0.7584, allocations: 0 / 1.116 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002824/0.7586, allocations: 51.86 kB / 1.116 GB, free: 3.719 MB / 0.7136 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 () * 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.0003175/0.759, allocations: 166.5 kB / 1.116 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.7591, allocations: 55.94 kB / 1.116 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7591, allocations: 0 / 1.116 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.292e-05/0.7592, allocations: 27.98 kB / 1.116 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.7594, allocations: 7.953 kB / 1.116 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.7596, allocations: 96.44 kB / 1.116 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.7599, allocations: 0.6897 MB / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.689e-05/0.76, allocations: 9.562 kB / 1.117 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.76, allocations: 15.42 kB / 1.117 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.76, allocations: 0 / 1.117 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of Templates: time 0.003485/0.7635, allocations: 1.497 MB / 1.119 GB, free: 1.164 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)