Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001586/0.001586, allocations: 187.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.806/1.806, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001386/0.001387, allocations: 68.91 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2684, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002704/0.2712, allocations: 1.57 MB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.2725, allocations: 0.7761 MB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.2725, allocations: 3.938 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.2726, allocations: 0 / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.486e-05/0.2727, allocations: 11.88 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0005489/0.2732, allocations: 119.7 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.2734, allocations: 95.69 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.2735, allocations: 16 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.314e-05/0.2736, allocations: 35.91 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.2736, allocations: 43.83 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.2737, allocations: 8 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.2739, allocations: 99.84 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.2739, allocations: 23.91 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.398e-05/0.274, allocations: 43.84 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.2742, allocations: 155.8 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2742, allocations: 0 / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2742, allocations: 0 / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2742, allocations: 0 / 0.7858 GB, free: 10.91 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006483/0.2749, allocations: 454.5 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2749, allocations: 12.03 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.275, allocations: 12.83 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.2751, allocations: 168.3 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.2751, allocations: 12.31 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.2752, allocations: 8.375 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.2754, allocations: 89.94 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2754, allocations: 0 / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2754, allocations: 0 / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2754, allocations: 4 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.2756, allocations: 43.97 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/0.2762, allocations: 332.6 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.2764, allocations: 62.55 kB / 0.7869 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.88e-05/0.2765, allocations: 44.83 kB / 0.787 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.2765, allocations: 4 kB / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.2767, allocations: 99.39 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.2767, allocations: 0 / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004665/0.2772, allocations: 185.4 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.2772, allocations: 63.34 kB / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.2774, allocations: 129.7 kB / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.2774, allocations: 33.7 kB / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.2774, allocations: 88.38 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.2775, allocations: 23.73 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.2775, allocations: 33.72 kB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2777, allocations: 326.8 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.61e-05/0.2777, allocations: 23.98 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.2779, allocations: 77.08 kB / 0.788 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.278, allocations: 109.9 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.278, allocations: 0 / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002329/0.2783, allocations: 141.3 kB / 0.7882 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2783, allocations: 4 kB / 0.7882 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2783, allocations: 4 kB / 0.7882 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2783, allocations: 4.094 kB / 0.7882 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.394e-05/0.2784, allocations: 19.91 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.2785, allocations: 4 kB / 0.7883 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.2785, allocations: 12.16 kB / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.2785, allocations: 4 kB / 0.7883 GB, free: 8.051 MB / 0.6075 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 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/0.2786, allocations: 137.4 kB / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.2787, allocations: 11.89 kB / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.2787, allocations: 8.375 kB / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2787, allocations: 0 / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2787, allocations: 0 / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2787, allocations: 0 / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.2792, allocations: 446.4 kB / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2793, allocations: 0 / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.2793, allocations: 8.453 kB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2793, allocations: 0 / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.2793, allocations: 0 / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2793, allocations: 4 kB / 0.7889 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.2793, allocations: 3.938 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.2797, allocations: 251.4 kB / 0.7891 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.2798, allocations: 85.02 kB / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.2798, allocations: 0 / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.2799, allocations: 7.984 kB / 0.7892 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.28, allocations: 15.88 kB / 0.7892 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.28, allocations: 3.984 kB / 0.7892 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.565e-05/0.28, allocations: 96.27 kB / 0.7893 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2801, allocations: 0 / 0.7893 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000339/0.2804, allocations: 47.98 kB / 0.7894 GB, free: 6.852 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003997/0.2808, allocations: 162.2 kB / 0.7895 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002904/0.2811, allocations: 96.08 kB / 0.7896 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2811, allocations: 4.156 kB / 0.7896 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.2812, allocations: 43.92 kB / 0.7897 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.2815, allocations: 19.97 kB / 0.7897 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.2821, allocations: 228.1 kB / 0.7899 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.2824, allocations: 0.6885 MB / 0.7906 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.78e-05/0.2824, allocations: 12.16 kB / 0.7906 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.2825, allocations: 11.44 kB / 0.7906 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2825, allocations: 0 / 0.7906 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of Templates: time 0.004877/0.2874, allocations: 1.663 MB / 0.7922 GB, free: 3.898 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)