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: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009641/0.0009642, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007822/0.007822, allocations: 172.8 kB / 16.26 MB, free: 6.676 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.301/1.301, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.741/1.741, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.00052/0.0005199, allocations: 16.48 kB / 0.6744 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2075, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.0016/0.2091, allocations: 1.204 MB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2104, allocations: 0.7528 MB / 0.7899 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.2105, allocations: 0 / 0.7899 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.2105, allocations: 4 kB / 0.7899 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.882e-05/0.2106, allocations: 11.86 kB / 0.7899 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.2111, allocations: 103.8 kB / 0.79 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.2112, allocations: 67.84 kB / 0.7901 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.2113, allocations: 4 kB / 0.7901 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.099e-05/0.2114, allocations: 43.83 kB / 0.7901 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.2115, allocations: 31.91 kB / 0.7902 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.2115, allocations: 4 kB / 0.7902 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.2117, allocations: 91.84 kB / 0.7903 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.2117, allocations: 19.91 kB / 0.7903 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.2118, allocations: 49.56 kB / 0.7903 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.212, allocations: 139.9 kB / 0.7905 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.212, allocations: 0 / 0.7905 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.212, allocations: 0 / 0.7905 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2121, allocations: 0 / 0.7905 GB, free: 8.93 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.0005847/0.2126, allocations: 413 kB / 0.7908 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2127, allocations: 8.031 kB / 0.7909 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.2127, allocations: 34.75 kB / 0.7909 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.2128, allocations: 12.84 kB / 0.7909 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.2129, allocations: 176.2 kB / 0.7911 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.2129, allocations: 8.359 kB / 0.7911 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.2129, allocations: 8.375 kB / 0.7911 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.2131, allocations: 77.77 kB / 0.7912 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.77e-06/0.2132, allocations: 3.938 kB / 0.7912 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2132, allocations: 0 / 0.7912 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2132, allocations: 4 kB / 0.7912 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.2133, allocations: 47.89 kB / 0.7912 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.2139, allocations: 316.8 kB / 0.7915 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.214, allocations: 50.56 kB / 0.7916 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.417e-05/0.2141, allocations: 32.97 kB / 0.7916 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.2142, allocations: 4 kB / 0.7916 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.2144, allocations: 83.31 kB / 0.7917 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.2144, allocations: 0 / 0.7917 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.00041/0.2148, allocations: 153.6 kB / 0.7918 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.2148, allocations: 59.41 kB / 0.7919 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.2149, allocations: 113.8 kB / 0.792 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.215, allocations: 29.7 kB / 0.792 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.215, allocations: 95.97 kB / 0.7921 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.2151, allocations: 15.81 kB / 0.7921 GB, free: 7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.2151, allocations: 21.7 kB / 0.7921 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2152, allocations: 326.8 kB / 0.7925 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.814e-05/0.2153, allocations: 27.98 kB / 0.7925 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.241e-05/0.2154, allocations: 54.92 kB / 0.7925 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.2156, allocations: 82.48 kB / 0.7926 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2156, allocations: 0 / 0.7926 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002435/0.2159, allocations: 109.6 kB / 0.7927 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2159, allocations: 4 kB / 0.7927 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2159, allocations: 8.047 kB / 0.7927 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2159, allocations: 4 kB / 0.7927 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.455e-05/0.216, allocations: 15.94 kB / 0.7928 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.216, allocations: 0 / 0.7928 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.065e-05/0.2161, allocations: 15.89 kB / 0.7928 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2161, allocations: 0 / 0.7928 GB, free: 6.305 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 8.932e-05/0.2162, allocations: 126.4 kB / 0.7929 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.2163, allocations: 7.906 kB / 0.7929 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.2163, allocations: 16.36 kB / 0.7929 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2163, allocations: 0 / 0.7929 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2163, allocations: 0 / 0.7929 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2163, allocations: 0 / 0.7929 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.2168, allocations: 394.4 kB / 0.7933 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2168, allocations: 4 kB / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.2168, allocations: 4 kB / 0.7933 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2168, allocations: 0 / 0.7933 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2169, allocations: 0 / 0.7933 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.2169, allocations: 11.92 kB / 0.7933 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2169, allocations: 3.938 kB / 0.7933 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.2172, allocations: 219.8 kB / 0.7935 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.2172, allocations: 81.02 kB / 0.7936 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.2172, allocations: 4 kB / 0.7936 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-05/0.2173, allocations: 15.92 kB / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.2174, allocations: 4 kB / 0.7936 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.2174, allocations: 7.984 kB / 0.7936 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.338e-05/0.2175, allocations: 95.42 kB / 0.7937 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2175, allocations: 0 / 0.7937 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002924/0.2178, allocations: 40 kB / 0.7938 GB, free: 5.191 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.0008393/0.2186, allocations: 0.8052 MB / 0.7945 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.2189, allocations: 67.97 kB / 0.7946 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2189, allocations: 0 / 0.7946 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.219, allocations: 52.02 kB / 0.7947 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.2192, allocations: 15.88 kB / 0.7947 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.2209, allocations: 1.535 MB / 0.7962 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.2212, allocations: 0.6926 MB / 0.7968 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.2213, allocations: 0 / 0.7968 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.2213, allocations: 23.42 kB / 0.7969 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.2213, allocations: 0 / 0.7969 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.2337, allocations: 2.334 MB / 0.7991 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.2339, allocations: 274.5 kB / 0.7994 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.019, allocations: 0 / 0.7994 GB, free: 15.36 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)