Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.675/2.675, allocations: 287.9 MB / 302.9 MB, free: 8.262 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.001404/0.001404, allocations: 175.8 kB / 371.4 MB, free: 10.66 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.054/2.054, allocations: 205.4 MB / 0.6301 GB, free: 10.29 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.001014/0.001014, allocations: 93.75 kB / 0.7434 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000822/0.0008223, allocations: 15.72 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1788, allocations: 115.2 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001148/0.18, allocations: 0.9531 MB / 0.9797 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007706/0.1808, allocations: 426.3 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.1809, allocations: 0 / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.1809, allocations: 0 / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.422e-05/0.1809, allocations: 0 / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.1814, allocations: 91.64 kB / 0.9802 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.665e-05/0.1814, allocations: 11.98 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.1815, allocations: 4 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.342e-05/0.1815, allocations: 11.92 kB / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.857e-05/0.1816, allocations: 11.98 kB / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1816, allocations: 4 kB / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.1818, allocations: 79.86 kB / 0.9803 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.1818, allocations: 3.984 kB / 0.9803 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.1818, allocations: 29.7 kB / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.182, allocations: 67.84 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.974e-06/0.182, allocations: 4 kB / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.531e-06/0.182, allocations: 0 / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.813e-06/0.182, allocations: 0 / 0.9804 GB, free: 26.49 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003562/0.1824, allocations: 385.2 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1824, allocations: 16.02 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.1825, allocations: 0 / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.693e-05/0.1826, allocations: 167 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.1826, allocations: 4 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.1826, allocations: 3.984 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.1828, allocations: 45.67 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.012e-06/0.1828, allocations: 0 / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1828, allocations: 0 / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1828, allocations: 0 / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.125e-05/0.1829, allocations: 8 kB / 0.981 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.183, allocations: 173.6 kB / 0.9811 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.203e-05/0.1831, allocations: 22.52 kB / 0.9812 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.1831, allocations: 0 / 0.9812 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.1833, allocations: 67.48 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.589e-06/0.1833, allocations: 0 / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002245/0.1835, allocations: 69.69 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.1836, allocations: 63.33 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.657e-05/0.1836, allocations: 101.8 kB / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.1837, allocations: 29.7 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.1837, allocations: 84.12 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1837, allocations: 19.75 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-06/0.1837, allocations: 0 / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.94e-05/0.1838, allocations: 318.8 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.543e-05/0.1838, allocations: 11.98 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.1839, allocations: 40.28 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.779e-05/0.1839, allocations: 15.95 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.518e-06/0.184, allocations: 0 / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001316/0.1841, allocations: 81.55 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1841, allocations: 4 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.989e-06/0.1841, allocations: 4 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1842, allocations: 0 / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.203e-05/0.1843, allocations: 8 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.753e-06/0.1843, allocations: 3.938 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.1843, allocations: 11.89 kB / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1843, allocations: 8 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.398e-05/0.1844, allocations: 115.3 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.1844, allocations: 4 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.1845, allocations: 7.562 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-06/0.1845, allocations: 0 / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.305e-06/0.1845, allocations: 0 / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.548e-06/0.1845, allocations: 4 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.1847, allocations: 157.7 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.264e-06/0.1847, allocations: 3.953 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.1847, allocations: 4 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.982e-06/0.1848, allocations: 0 / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1848, allocations: 4 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.102e-06/0.1848, allocations: 0 / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.499e-06/0.1848, allocations: 0 / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.1851, allocations: 101.5 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.1852, allocations: 85.06 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.1852, allocations: 0 / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.471e-05/0.1853, allocations: 0 / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.1853, allocations: 4 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.1854, allocations: 7.984 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.377e-05/0.1854, allocations: 83.28 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.97e-07/0.1854, allocations: 0 / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006021/0.1861, allocations: 31.94 kB / 0.9826 GB, free: 23.83 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004953/0.1866, allocations: 176.2 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.1868, allocations: 35.92 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.432e-06/0.1868, allocations: 0 / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.028e-05/0.187, allocations: 19.94 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.1872, allocations: 0 / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.1876, allocations: 124.7 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.1878, allocations: 0.6874 MB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.343e-05/0.1879, allocations: 4 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.188, allocations: 11.44 kB / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of SimCode: time 2.258e-06/0.188, allocations: 0 / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.005966/0.194, allocations: 1.054 MB / 0.9847 GB, free: 21.68 MB / 0.6198 GB