Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.675/1.675, allocations: 287.5 MB / 302.6 MB, free: 8.164 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.0009814/0.0009814, allocations: 185 kB / 371.2 MB, free: 10.74 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.589/1.589, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0008541/0.000854, allocations: 87.3 kB / 0.7432 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004023, allocations: 15.77 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2333, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001716/0.2351, allocations: 1.195 MB / 0.9798 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.2364, allocations: 0.7072 MB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.433e-05/0.2365, allocations: 0 / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.2365, allocations: 3.984 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.846e-05/0.2366, allocations: 15.86 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006037/0.2372, allocations: 99.78 kB / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.2374, allocations: 63.77 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2375, allocations: 8 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.2376, allocations: 27.92 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.2377, allocations: 31.83 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.2377, allocations: 4 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.2379, allocations: 83.91 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.238, allocations: 15.92 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.238, allocations: 33.7 kB / 0.9809 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.2382, allocations: 100 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.2382, allocations: 4 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2382, allocations: 0 / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2382, allocations: 0 / 0.981 GB, free: 25.77 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.0005978/0.2388, allocations: 426.7 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2389, allocations: 16.02 kB / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.239, allocations: 8.844 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.2391, allocations: 180.2 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.2391, allocations: 4.375 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.2391, allocations: 8.375 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.2393, allocations: 69.97 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2394, allocations: 0 / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.2394, allocations: 0 / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2394, allocations: 3.984 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.2395, allocations: 43.98 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.24, allocations: 300.7 kB / 0.982 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.2401, allocations: 50.56 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.222e-05/0.2402, allocations: 36.97 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.2403, allocations: 3.984 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.2405, allocations: 87.38 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.2405, allocations: 0 / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003881/0.2409, allocations: 145.5 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.2409, allocations: 55.41 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.968e-05/0.241, allocations: 121.8 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.241, allocations: 33.7 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.2411, allocations: 96.08 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.2411, allocations: 11.81 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.2411, allocations: 0 / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.015e-05/0.2412, allocations: 326.8 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.2413, allocations: 27.92 kB / 0.983 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.2414, allocations: 69.12 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.2415, allocations: 97.02 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2415, allocations: 0 / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002062/0.2417, allocations: 125.5 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2418, allocations: 4 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2418, allocations: 4 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2418, allocations: 0 / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.2419, allocations: 15.98 kB / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2419, allocations: 3.938 kB / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.463e-05/0.242, allocations: 15.89 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.242, allocations: 4 kB / 0.9833 GB, free: 23.16 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.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,occ.y,$whenCondition1,bli.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.7e-05/0.2421, allocations: 132.2 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.2421, allocations: 4 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.2421, allocations: 4.375 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2421, allocations: 0 / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2422, allocations: 4 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2422, allocations: 0 / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.2426, allocations: 398.6 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.2426, allocations: 7.984 kB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.2426, allocations: 4 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2426, allocations: 0 / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2426, allocations: 0 / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2426, allocations: 4 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2427, allocations: 3.938 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.2429, allocations: 215.4 kB / 0.984 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.2429, allocations: 85.05 kB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.243, allocations: 4 kB / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-05/0.2431, allocations: 7.984 kB / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.2431, allocations: 7.938 kB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.2431, allocations: 3.984 kB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.714e-05/0.2432, allocations: 99.86 kB / 0.9842 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2432, allocations: 7.938 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002842/0.2435, allocations: 36 kB / 0.9843 GB, free: 22.05 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 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.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.0003463/0.2438, allocations: 149.7 kB / 0.9844 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.2441, allocations: 79.89 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2441, allocations: 0 / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.479e-05/0.2442, allocations: 35.92 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.2444, allocations: 10.55 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.2448, allocations: 215.4 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.245, allocations: 0.6848 MB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.006e-05/0.245, allocations: 7.984 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.2451, allocations: 19.42 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of SimCode: time 3.5e-07/0.2451, allocations: 0 / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.003758/0.2488, allocations: 1.328 MB / 0.9867 GB, free: 19.49 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)