Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.61/2.61, allocations: 287.5 MB / 302.4 MB, free: 8.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.001401/0.0014, allocations: 178.1 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.199/2.199, allocations: 205.4 MB / 0.6297 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 85.56 kB / 0.743 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004841, allocations: 11 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2177, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002509/0.2202, allocations: 1.179 MB / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002223/0.2225, allocations: 0.7268 MB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.349e-05/0.2226, allocations: 0 / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.2227, allocations: 3.938 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.912e-05/0.2228, allocations: 7.922 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007586/0.2236, allocations: 91.77 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.2237, allocations: 71.77 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2239, allocations: 8 kB / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.224, allocations: 35.91 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.2241, allocations: 39.83 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.2242, allocations: 0 / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/0.2245, allocations: 83.84 kB / 0.9806 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/0.2245, allocations: 11.97 kB / 0.9806 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.2246, allocations: 45.64 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.2249, allocations: 96.05 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2249, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.755e-06/0.2249, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2249, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 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.0008214/0.2258, allocations: 408.8 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.2258, allocations: 12.02 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.2259, allocations: 30.56 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.226, allocations: 15.86 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.2261, allocations: 167 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.2262, allocations: 8 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.2262, allocations: 7.984 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.2265, allocations: 73.58 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2266, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.2266, allocations: 4 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2266, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.2269, allocations: 47.97 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009633/0.2279, allocations: 316.7 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.2282, allocations: 54.5 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.2284, allocations: 36.97 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.2284, allocations: 0 / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000314/0.2287, allocations: 79.38 kB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.767e-06/0.2288, allocations: 0 / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0008086/0.2296, allocations: 161.7 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.2297, allocations: 59.33 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.2298, allocations: 117.8 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.2299, allocations: 33.7 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.2299, allocations: 96.25 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.23, allocations: 15.81 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.23, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.099e-05/0.2301, allocations: 318.8 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.2303, allocations: 27.92 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.2305, allocations: 62.94 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.2307, allocations: 27.98 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2307, allocations: 4 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005019/0.2312, allocations: 125.5 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.2313, allocations: 6.188 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2313, allocations: 0 / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.2313, allocations: 7.953 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.2315, allocations: 15.92 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.2316, allocations: 0 / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.2317, allocations: 8 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.2318, allocations: 0 / 0.983 GB, free: 23.29 MB / 0.6198 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,$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 0.0001265/0.2319, allocations: 131.6 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.232, allocations: 7.906 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.232, allocations: 8.375 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.232, allocations: 3.984 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.976e-06/0.2321, allocations: 3.953 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2321, allocations: 0 / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008341/0.2329, allocations: 390.5 kB / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.233, allocations: 0 / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.525e-05/0.2331, allocations: 7.984 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.2331, allocations: 0 / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.2331, allocations: 3.953 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.2331, allocations: 0 / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2331, allocations: 0 / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.2337, allocations: 227.3 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.2338, allocations: 85.02 kB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.2338, allocations: 0 / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.234, allocations: 7.953 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/0.2341, allocations: 7.984 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.2342, allocations: 0 / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.173e-05/0.2343, allocations: 107.2 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.11e-07/0.2343, allocations: 0 / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006393/0.2349, allocations: 35.98 kB / 0.984 GB, free: 22.19 MB / 0.6198 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 (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.001181/0.2361, allocations: 0.7982 MB / 0.9848 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004587/0.2366, allocations: 79.86 kB / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2366, allocations: 4.125 kB / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.2369, allocations: 43.92 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.2374, allocations: 15.88 kB / 0.9849 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.2393, allocations: 0.6046 MB / 0.9855 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.2395, allocations: 0.6927 MB / 0.9862 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000107/0.2396, allocations: 8.172 kB / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.2397, allocations: 11.44 kB / 0.9862 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of SimCode: time 1.132e-06/0.2397, allocations: 0 / 0.9862 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.2651, allocations: 2.352 MB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000279/0.2655, allocations: 266.2 kB / 0.9888 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/2.979, allocations: 0 / 0.9888 GB, free: 17.33 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)