Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Nicol2001WindowsUK,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",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 1.612/1.612, allocations: 287.4 MB / 302.5 MB, free: 8.238 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.001003/0.001003, allocations: 181.9 kB / 371.1 MB, free: 10.83 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.291/1.291, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007176/0.0007176, allocations: 96.73 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 15.92 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1708, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001493/0.1723, allocations: 1.183 MB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1734, allocations: 0.7229 MB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.1735, allocations: 0 / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.1736, allocations: 3.938 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.008e-05/0.1736, allocations: 7.922 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004895/0.1741, allocations: 95.77 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.974e-05/0.1742, allocations: 75.77 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.1743, allocations: 4 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.838e-05/0.1744, allocations: 35.84 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.1745, allocations: 35.89 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1745, allocations: 0 / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.1747, allocations: 91.84 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.1747, allocations: 11.92 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.1748, allocations: 37.7 kB / 0.981 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.1749, allocations: 100 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.175, allocations: 0 / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.273e-06/0.175, allocations: 0 / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.175, allocations: 0 / 0.9811 GB, free: 25.68 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.0005281/0.1755, allocations: 409 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1756, allocations: 8.031 kB / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.1756, allocations: 42.75 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.1756, allocations: 8.844 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.03e-05/0.1757, allocations: 176.2 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.1758, allocations: 8.359 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.1758, allocations: 4.375 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.176, allocations: 77.77 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.176, allocations: 0 / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.176, allocations: 0 / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.176, allocations: 0 / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.1762, allocations: 47.97 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.1767, allocations: 316.7 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1768, allocations: 50.56 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/0.1769, allocations: 36.97 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.177, allocations: 0 / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.1771, allocations: 83.38 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.1771, allocations: 0 / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003606/0.1775, allocations: 157.5 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.1775, allocations: 55.41 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.1776, allocations: 125.8 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.1776, allocations: 25.7 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.1777, allocations: 104 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.1777, allocations: 11.91 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.1777, allocations: 0 / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.1778, allocations: 322.8 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.488e-05/0.1778, allocations: 27.98 kB / 0.9831 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.739e-05/0.1779, allocations: 58.5 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1781, allocations: 78.48 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1781, allocations: 4 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002067/0.1783, allocations: 121.5 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1783, allocations: 4 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1783, allocations: 3.938 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1784, allocations: 4 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.24e-05/0.1785, allocations: 15.92 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1785, allocations: 4.062 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.1785, allocations: 11.91 kB / 0.9834 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1786, allocations: 0 / 0.9834 GB, free: 23.08 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 7.43e-05/0.1786, allocations: 137.7 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.1787, allocations: 0 / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.1787, allocations: 8.375 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1787, allocations: 0 / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1787, allocations: 0 / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1787, allocations: 4 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.1791, allocations: 390.3 kB / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1791, allocations: 0 / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.1792, allocations: 7.984 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.1792, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1792, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1792, allocations: 11.94 kB / 0.9839 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1792, allocations: 0 / 0.9839 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.1794, allocations: 219.3 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.1795, allocations: 81.11 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.1795, allocations: 4 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.1796, allocations: 11.94 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.1796, allocations: 7.984 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.1797, allocations: 4 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.1797, allocations: 99.2 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1797, allocations: 0 / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002666/0.18, allocations: 39.98 kB / 0.9843 GB, free: 21.98 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.0005769/0.1806, allocations: 0.799 MB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.1808, allocations: 79.89 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1808, allocations: 0 / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.725e-05/0.1809, allocations: 43.91 kB / 0.9852 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.1811, allocations: 18.09 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008847/0.182, allocations: 0.613 MB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.1822, allocations: 0.6887 MB / 0.9865 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.908e-05/0.1822, allocations: 4 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.1823, allocations: 19.42 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of SimCode: time 6.82e-07/0.1823, allocations: 0 / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.1955, allocations: 2.32 MB / 0.9888 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/0.1957, allocations: 250.2 kB / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/1.702, allocations: 4 kB / 0.9891 GB, free: 17.14 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1)