Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.858/2.858, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.00157/0.00157, allocations: 193.4 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.179/2.179, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001151/0.001151, allocations: 94.58 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.000476, allocations: 13.66 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2647, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002837/0.2676, allocations: 1.195 MB / 0.9794 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00246/0.2701, allocations: 0.7386 MB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.332e-05/0.2702, allocations: 0 / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.2703, allocations: 3.938 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.2705, allocations: 15.98 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007198/0.2712, allocations: 103.7 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.2714, allocations: 47.94 kB / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2715, allocations: 8 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.2717, allocations: 43.83 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.2718, allocations: 39.89 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.2719, allocations: 7.938 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.2721, allocations: 67.88 kB / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.2722, allocations: 19.91 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.2722, allocations: 41.69 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.2725, allocations: 104 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2725, allocations: 0 / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.205e-06/0.2725, allocations: 0 / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2726, allocations: 0 / 0.9806 GB, free: 25.93 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007884/0.2734, allocations: 442.5 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.2734, allocations: 19.95 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.2735, allocations: 7.906 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.2736, allocations: 192.4 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/0.2737, allocations: 4 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.2738, allocations: 4 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.2742, allocations: 93.62 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.2743, allocations: 0 / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.2743, allocations: 0 / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2744, allocations: 0 / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.2747, allocations: 55.91 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008912/0.2757, allocations: 324.7 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.2759, allocations: 66.55 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.2759, allocations: 0 / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/0.2762, allocations: 103.4 kB / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.2763, allocations: 0 / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0007102/0.277, allocations: 193.5 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.277, allocations: 55.52 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2772, allocations: 137.7 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.2772, allocations: 25.7 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.2772, allocations: 100.3 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.2773, allocations: 19.75 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.2773, allocations: 0 / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.2774, allocations: 319.2 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.2775, allocations: 31.98 kB / 0.9827 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.2777, allocations: 81.92 kB / 0.9827 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.2778, allocations: 39.98 kB / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2778, allocations: 3.938 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003704/0.2782, allocations: 137.4 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.2783, allocations: 4 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2783, allocations: 4 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.2783, allocations: 8.141 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.2785, allocations: 19.94 kB / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2785, allocations: 3.953 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.2786, allocations: 19.89 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.2787, allocations: 4 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,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 (15): * Single equations (assignments): 15 * 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 0.0001016/0.2788, allocations: 129.7 kB / 0.9831 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.2788, allocations: 7.906 kB / 0.9831 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.2788, allocations: 16.36 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2789, allocations: 3.938 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2789, allocations: 4 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2789, allocations: 3.953 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007033/0.2796, allocations: 426.4 kB / 0.9835 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2796, allocations: 4 kB / 0.9835 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.2797, allocations: 8 kB / 0.9835 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2797, allocations: 0 / 0.9835 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.2797, allocations: 3.984 kB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2797, allocations: 7.953 kB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2798, allocations: 0 / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004837/0.2802, allocations: 255.3 kB / 0.9838 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.2803, allocations: 85.02 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.2803, allocations: 0 / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.2805, allocations: 11.98 kB / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.2806, allocations: 7.953 kB / 0.9839 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.2806, allocations: 7.984 kB / 0.9839 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.653e-05/0.2807, allocations: 96.95 kB / 0.984 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2807, allocations: 0 / 0.984 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000432/0.2811, allocations: 47.92 kB / 0.984 GB, free: 22.01 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004174/0.2815, allocations: 172.7 kB / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003839/0.2819, allocations: 96.02 kB / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.282, allocations: 0 / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.2822, allocations: 51.91 kB / 0.9844 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.2825, allocations: 15.98 kB / 0.9844 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.283, allocations: 215.2 kB / 0.9846 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.2832, allocations: 0.6965 MB / 0.9853 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.783e-05/0.2833, allocations: 4.188 kB / 0.9853 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.2833, allocations: 11.44 kB / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/0.2833, allocations: 11.88 kB / 0.9853 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.005356/0.2887, allocations: 1.546 MB / 0.9868 GB, free: 19.16 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)