Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.58/2.58, allocations: 287.9 MB / 302.9 MB, free: 8.285 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.001432/0.001432, allocations: 170.9 kB / 371.4 MB, free: 10.68 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.015/2.015, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.001074/0.001074, allocations: 95.3 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008086/0.0008091, allocations: 15.52 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2191, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002399/0.2215, allocations: 1.195 MB / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.2236, allocations: 0.7269 MB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.2237, allocations: 0 / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.2238, allocations: 7.922 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/0.2239, allocations: 7.984 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006644/0.2246, allocations: 91.7 kB / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.2247, allocations: 43.94 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2248, allocations: 15.98 kB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.225, allocations: 31.91 kB / 0.9808 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.2251, allocations: 35.83 kB / 0.9809 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.2252, allocations: 4 kB / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.2254, allocations: 67.88 kB / 0.9809 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.2255, allocations: 19.91 kB / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.641e-05/0.2255, allocations: 33.7 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.2258, allocations: 92.05 kB / 0.9811 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.694e-06/0.2258, allocations: 0 / 0.9811 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.709e-06/0.2259, allocations: 4 kB / 0.9811 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.477e-06/0.2259, allocations: 4 kB / 0.9811 GB, free: 25.8 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.0007301/0.2266, allocations: 404.8 kB / 0.9815 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.2267, allocations: 8.031 kB / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.2268, allocations: 11.86 kB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2269, allocations: 174.9 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.227, allocations: 8 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.227, allocations: 4 kB / 0.9817 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.2274, allocations: 81.58 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2274, allocations: 0 / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.2274, allocations: 0 / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.591e-06/0.2275, allocations: 0 / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.2278, allocations: 43.97 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009601/0.2288, allocations: 320.6 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.2291, allocations: 50.56 kB / 0.9821 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.2291, allocations: 3.938 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.2293, allocations: 79.5 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.674e-06/0.2294, allocations: 0 / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000474/0.2298, allocations: 153.6 kB / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.2299, allocations: 55.41 kB / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.11e-05/0.23, allocations: 125.7 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.23, allocations: 29.7 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.2301, allocations: 88.33 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.2301, allocations: 19.73 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-06/0.2301, allocations: 4 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.2302, allocations: 314.8 kB / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.2303, allocations: 31.97 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.2304, allocations: 55.42 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.2305, allocations: 35.98 kB / 0.9831 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.637e-06/0.2306, allocations: 4 kB / 0.9831 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003156/0.2309, allocations: 125.4 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2309, allocations: 4 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.553e-06/0.2309, allocations: 0 / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.231, allocations: 4 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.2311, allocations: 11.98 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.4e-06/0.2311, allocations: 12.27 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.182e-05/0.2312, allocations: 11.98 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.2313, allocations: 4 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$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 (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 8.002e-05/0.2313, allocations: 121.8 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.2314, allocations: 7.906 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.2314, allocations: 8.406 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.2314, allocations: 0 / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.746e-06/0.2314, allocations: 3.984 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.142e-06/0.2315, allocations: 11.95 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.232, allocations: 390.4 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.8e-06/0.232, allocations: 0 / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.2321, allocations: 4 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2321, allocations: 0 / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.2321, allocations: 4 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.431e-06/0.2321, allocations: 7.953 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.46e-06/0.2321, allocations: 3.984 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.2324, allocations: 215.4 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.2325, allocations: 81.02 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.2325, allocations: 0 / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.2327, allocations: 15.98 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.2327, allocations: 3.953 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.2327, allocations: 11.98 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.593e-05/0.2328, allocations: 99.8 kB / 0.9842 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.66e-07/0.2328, allocations: 0 / 0.9842 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000399/0.2332, allocations: 36 kB / 0.9842 GB, free: 22.23 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,occ.y,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.0003471/0.2336, allocations: 159 kB / 0.9844 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002915/0.2339, allocations: 83.88 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.707e-06/0.2339, allocations: 0 / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.234, allocations: 40.11 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.2342, allocations: 0 / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.2347, allocations: 211 kB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.2348, allocations: 0.6926 MB / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.559e-05/0.2349, allocations: 4.188 kB / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.2349, allocations: 11.44 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of SimCode: time 1.318e-06/0.2349, allocations: 0 / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of Templates: time 0.004311/0.2392, allocations: 1.346 MB / 0.9867 GB, free: 19.65 MB / 0.6198 GB