Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.492/2.492, allocations: 287.9 MB / 302.9 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001477/0.001476, allocations: 181 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 90.53 kB / 0.7434 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009805/0.0009806, allocations: 10.62 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1763, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001568/0.1779, allocations: 1.305 MB / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1792, allocations: 0.7883 MB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.1792, allocations: 4 kB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.1793, allocations: 3.938 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.722e-05/0.1794, allocations: 27.88 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.1799, allocations: 111.7 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.18, allocations: 91.8 kB / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.364e-05/0.1801, allocations: 21.11 kB / 0.9811 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1802, allocations: 55.83 kB / 0.9811 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1803, allocations: 63.8 kB / 0.9812 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.1804, allocations: 11.98 kB / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.1806, allocations: 71.81 kB / 0.9812 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.1806, allocations: 35.88 kB / 0.9813 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.1807, allocations: 49.64 kB / 0.9813 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.1809, allocations: 136 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.66e-06/0.1809, allocations: 4 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.851e-06/0.1809, allocations: 0 / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.54e-06/0.1809, allocations: 0 / 0.9815 GB, free: 25.41 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006501/0.1816, allocations: 0.5212 MB / 0.982 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1816, allocations: 16.02 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.1817, allocations: 11.81 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.085e-05/0.1818, allocations: 182.9 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.1818, allocations: 4 kB / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.1819, allocations: 8 kB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.1824, allocations: 157.5 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1824, allocations: 3.938 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.1824, allocations: 4 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.231e-06/0.1825, allocations: 0 / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.183, allocations: 127.9 kB / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007811/0.1837, allocations: 392.6 kB / 0.9828 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.1842, allocations: 118.4 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1842, allocations: 0 / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004946/0.1847, allocations: 159.2 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.656e-06/0.1847, allocations: 0 / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001339/0.1861, allocations: 365.2 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.1861, allocations: 51.41 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1863, allocations: 148.9 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1863, allocations: 25.7 kB / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.1864, allocations: 104.3 kB / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.1864, allocations: 19.89 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-06/0.1864, allocations: 4 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.624e-05/0.1865, allocations: 322.8 kB / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.1867, allocations: 51.97 kB / 0.9841 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.1868, allocations: 90.94 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.187, allocations: 51.97 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.04e-06/0.1871, allocations: 0 / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004583/0.1875, allocations: 173.3 kB / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1876, allocations: 7.984 kB / 0.9845 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.017e-06/0.1876, allocations: 208 / 0.9845 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1876, allocations: 16.05 kB / 0.9845 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.1878, allocations: 27.88 kB / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.999e-06/0.1878, allocations: 4 kB / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.188, allocations: 11.98 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.188, allocations: 8 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.51e-05/0.1881, allocations: 121.8 kB / 0.9846 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.1881, allocations: 11.81 kB / 0.9846 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.1882, allocations: 16.7 kB / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.532e-06/0.1882, allocations: 0 / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.652e-06/0.1882, allocations: 3.953 kB / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.162e-06/0.1882, allocations: 0 / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.1894, allocations: 0.5607 MB / 0.9852 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.314e-06/0.1894, allocations: 0 / 0.9852 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1895, allocations: 16.45 kB / 0.9852 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.462e-06/0.1896, allocations: 0 / 0.9852 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.1896, allocations: 11.94 kB / 0.9852 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.693e-06/0.1896, allocations: 4 kB / 0.9852 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1896, allocations: 4 kB / 0.9852 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009041/0.1905, allocations: 359.2 kB / 0.9856 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.1906, allocations: 88.92 kB / 0.9857 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.1906, allocations: 7.984 kB / 0.9857 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.1909, allocations: 31.92 kB / 0.9857 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.191, allocations: 7.984 kB / 0.9857 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.191, allocations: 8 kB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.067e-05/0.1911, allocations: 110.1 kB / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.15e-07/0.1911, allocations: 0 / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004307/0.1915, allocations: 44 kB / 0.9859 GB, free: 20.53 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0003801/0.1919, allocations: 161.2 kB / 0.986 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006462/0.1926, allocations: 167.8 kB / 0.9862 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.014e-06/0.1926, allocations: 4 kB / 0.9862 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003949/0.193, allocations: 104.1 kB / 0.9863 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.1933, allocations: 12.22 kB / 0.9863 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007457/0.194, allocations: 301 kB / 0.9866 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.1942, allocations: 0.7082 MB / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.637e-05/0.1943, allocations: 12.03 kB / 0.9873 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.1943, allocations: 15.44 kB / 0.9873 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of SimCode: time 1.451e-06/0.1943, allocations: 0 / 0.9873 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.005286/0.1996, allocations: 1.807 MB / 0.9891 GB, free: 17.23 MB / 0.6198 GB