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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 108.3 kB / 15.99 MB, free: 6.359 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.00131/0.00131, allocations: 189.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.643/1.643, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.3 kB / 0.6716 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2382, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002803/0.2411, allocations: 1.549 MB / 0.785 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.2423, allocations: 0.7683 MB / 0.7858 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/0.2424, allocations: 0 / 0.7858 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.2424, allocations: 3.938 kB / 0.7858 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.257e-05/0.2425, allocations: 11.92 kB / 0.7858 GB, free: 11.56 MB / 0.6075 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 NFTyping.typeClassSections: time 0.0005175/0.243, allocations: 107.8 kB / 0.7859 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.2431, allocations: 71.78 kB / 0.7859 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.2432, allocations: 23.91 kB / 0.786 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.895e-05/0.2433, allocations: 31.92 kB / 0.786 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.2434, allocations: 35.89 kB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.2434, allocations: 8 kB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.2436, allocations: 95.84 kB / 0.7861 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.2436, allocations: 19.92 kB / 0.7862 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.2437, allocations: 27.86 kB / 0.7862 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.2438, allocations: 108 kB / 0.7863 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2438, allocations: 0 / 0.7863 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2438, allocations: 3.938 kB / 0.7863 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2439, allocations: 4 kB / 0.7863 GB, free: 11.03 MB / 0.6075 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.0005734/0.2444, allocations: 413 kB / 0.7867 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.2445, allocations: 8.031 kB / 0.7867 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.2445, allocations: 8.844 kB / 0.7867 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.2446, allocations: 180.2 kB / 0.7869 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.2447, allocations: 8.375 kB / 0.7869 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.2447, allocations: 384 / 0.7869 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.2449, allocations: 69.97 kB / 0.7869 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2449, allocations: 4 kB / 0.7869 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.2449, allocations: 3.984 kB / 0.787 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2449, allocations: 4 kB / 0.787 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.2451, allocations: 47.84 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.2456, allocations: 308.8 kB / 0.7873 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.2458, allocations: 54.55 kB / 0.7873 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.618e-05/0.2458, allocations: 32.97 kB / 0.7874 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.2459, allocations: 0 / 0.7874 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.2461, allocations: 83.22 kB / 0.7875 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.2461, allocations: 0 / 0.7875 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000378/0.2465, allocations: 137.9 kB / 0.7876 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.2465, allocations: 55.47 kB / 0.7876 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.928e-05/0.2466, allocations: 125.7 kB / 0.7878 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.2466, allocations: 29.7 kB / 0.7878 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.2467, allocations: 92.08 kB / 0.7879 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.2467, allocations: 23.73 kB / 0.7879 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.2468, allocations: 21.72 kB / 0.7879 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2469, allocations: 330.7 kB / 0.7882 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-05/0.247, allocations: 27.98 kB / 0.7883 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.735e-05/0.2471, allocations: 46.55 kB / 0.7883 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.2473, allocations: 74.62 kB / 0.7884 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2473, allocations: 0 / 0.7884 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002233/0.2475, allocations: 113.5 kB / 0.7885 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2475, allocations: 4 kB / 0.7885 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.2475, allocations: 7.938 kB / 0.7885 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2475, allocations: 0 / 0.7885 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.2476, allocations: 11.98 kB / 0.7885 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.2477, allocations: 4 kB / 0.7885 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.2477, allocations: 12.05 kB / 0.7885 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.2477, allocations: 4 kB / 0.7885 GB, free: 8.484 MB / 0.6075 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 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.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.044e-05/0.2478, allocations: 117.8 kB / 0.7886 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.2479, allocations: 7.906 kB / 0.7887 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.2479, allocations: 12.38 kB / 0.7887 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2479, allocations: 0 / 0.7887 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2479, allocations: 0 / 0.7887 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2479, allocations: 7.922 kB / 0.7887 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.2484, allocations: 382.4 kB / 0.789 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2484, allocations: 3.984 kB / 0.789 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.2484, allocations: 4 kB / 0.789 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2484, allocations: 0 / 0.789 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.2484, allocations: 4 kB / 0.789 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2484, allocations: 0 / 0.789 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2484, allocations: 7.875 kB / 0.7891 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.2487, allocations: 219.3 kB / 0.7893 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.2488, allocations: 85.02 kB / 0.7893 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2488, allocations: 3.938 kB / 0.7893 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.2489, allocations: 7.984 kB / 0.7894 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.2489, allocations: 3.938 kB / 0.7894 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.249, allocations: 4 kB / 0.7894 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.037e-05/0.249, allocations: 95.27 kB / 0.7895 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.249, allocations: 4 kB / 0.7895 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002776/0.2493, allocations: 31.98 kB / 0.7895 GB, free: 7.402 MB / 0.6075 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,win.occ,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 (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.0003132/0.2496, allocations: 163.5 kB / 0.7896 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002228/0.2499, allocations: 80.11 kB / 0.7897 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2499, allocations: 4.125 kB / 0.7897 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.318e-05/0.25, allocations: 35.92 kB / 0.7898 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.2502, allocations: 8 kB / 0.7898 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.2506, allocations: 222.6 kB / 0.79 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.2509, allocations: 0.6924 MB / 0.7907 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.251, allocations: 11.44 kB / 0.7907 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.251, allocations: 0 / 0.7907 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of Templates: time 0.003221/0.2542, allocations: 1.623 MB / 0.7923 GB, free: 4.52 MB / 0.6075 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)