Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000829/0.0008292, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007459/0.000746, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.612/1.612, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000543/0.0005431, allocations: 11.66 kB / 0.6737 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2376, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001923/0.2395, allocations: 1.199 MB / 0.7885 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.2409, allocations: 0.7076 MB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.2409, allocations: 3.938 kB / 0.7891 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.008e-05/0.241, allocations: 4 kB / 0.7892 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.19e-05/0.2411, allocations: 11.86 kB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006161/0.2417, allocations: 83.84 kB / 0.7892 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.2418, allocations: 75.58 kB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.2419, allocations: 15.98 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.776e-05/0.242, allocations: 23.92 kB / 0.7894 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.077e-05/0.2421, allocations: 27.91 kB / 0.7894 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.2421, allocations: 4 kB / 0.7894 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.2424, allocations: 83.84 kB / 0.7895 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.972e-05/0.2424, allocations: 19.91 kB / 0.7895 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.2425, allocations: 33.7 kB / 0.7895 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.2426, allocations: 100.1 kB / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2427, allocations: 0 / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2427, allocations: 0 / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.2427, allocations: 0 / 0.7896 GB, free: 9.551 MB / 0.6075 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.0006305/0.2433, allocations: 430.5 kB / 0.79 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2434, allocations: 8.031 kB / 0.79 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.2434, allocations: 7.906 kB / 0.79 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.2436, allocations: 182.9 kB / 0.7902 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.2436, allocations: 8 kB / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.2436, allocations: 8 kB / 0.7902 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.2438, allocations: 65.66 kB / 0.7903 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2438, allocations: 3.938 kB / 0.7903 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2439, allocations: 0 / 0.7903 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2439, allocations: 4 kB / 0.7903 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.244, allocations: 43.97 kB / 0.7903 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.2445, allocations: 296.7 kB / 0.7906 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.2447, allocations: 54.5 kB / 0.7907 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.2448, allocations: 40.97 kB / 0.7907 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.2448, allocations: 0 / 0.7907 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.245, allocations: 75.38 kB / 0.7908 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.245, allocations: 0 / 0.7908 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003905/0.2454, allocations: 153.6 kB / 0.7909 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.2454, allocations: 59.34 kB / 0.791 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.28e-05/0.2455, allocations: 121.8 kB / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.2456, allocations: 25.7 kB / 0.7911 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.2456, allocations: 100.2 kB / 0.7912 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.2456, allocations: 7.812 kB / 0.7912 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.2457, allocations: 8 kB / 0.7912 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2458, allocations: 322.8 kB / 0.7915 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.2458, allocations: 23.98 kB / 0.7916 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.796e-05/0.2459, allocations: 65.14 kB / 0.7916 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.81e-05/0.246, allocations: 27.92 kB / 0.7917 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.246, allocations: 0 / 0.7917 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000225/0.2463, allocations: 125.4 kB / 0.7918 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2463, allocations: 11.94 kB / 0.7918 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2463, allocations: 0 / 0.7918 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2463, allocations: 4 kB / 0.7918 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.468e-05/0.2464, allocations: 11.98 kB / 0.7918 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.2464, allocations: 11.89 kB / 0.7918 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.2e-05/0.2465, allocations: 4.156 kB / 0.7918 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2465, allocations: 8 kB / 0.7918 GB, free: 7.027 MB / 0.6075 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 9.917e-05/0.2466, allocations: 129.7 kB / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.2466, allocations: 7.906 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.2467, allocations: 8.375 kB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.2467, allocations: 8.031 kB / 0.792 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2467, allocations: 0 / 0.792 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2467, allocations: 3.953 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.2472, allocations: 386.5 kB / 0.7923 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2472, allocations: 4 kB / 0.7924 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.2472, allocations: 7.984 kB / 0.7924 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.2472, allocations: 0 / 0.7924 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2472, allocations: 0 / 0.7924 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2473, allocations: 3.953 kB / 0.7924 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2473, allocations: 0 / 0.7924 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.2475, allocations: 219.8 kB / 0.7926 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.2476, allocations: 81.02 kB / 0.7926 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.2476, allocations: 4 kB / 0.7927 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.2477, allocations: 8 kB / 0.7927 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.2477, allocations: 11.94 kB / 0.7927 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.2477, allocations: 4 kB / 0.7927 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.612e-05/0.2478, allocations: 95.86 kB / 0.7928 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2478, allocations: 3.938 kB / 0.7928 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003004/0.2481, allocations: 39.98 kB / 0.7928 GB, free: 5.922 MB / 0.6075 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.000332/0.2485, allocations: 161.4 kB / 0.793 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.2487, allocations: 75.89 kB / 0.793 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2487, allocations: 0 / 0.793 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.625e-05/0.2488, allocations: 35.97 kB / 0.7931 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.2491, allocations: 12.31 kB / 0.7931 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.2495, allocations: 207.1 kB / 0.7933 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.2497, allocations: 0.6887 MB / 0.794 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.577e-05/0.2498, allocations: 8.188 kB / 0.794 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.2498, allocations: 11.44 kB / 0.794 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2498, allocations: 0 / 0.794 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of Templates: time 0.003913/0.2537, allocations: 1.329 MB / 0.7953 GB, free: 3.367 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) Environment - environmentSimulation: