Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009528/0.0009528, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.00132/0.00132, allocations: 177.3 kB / 15.95 MB, free: 216 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.654/1.654, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.718/1.718, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0005644/0.0005648, allocations: 14.62 kB / 0.6735 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3007, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002442/0.3032, allocations: 1.196 MB / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.3048, allocations: 0.7455 MB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.075e-05/0.305, allocations: 0 / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.305, allocations: 7.922 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.3051, allocations: 11.98 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007255/0.3059, allocations: 95.73 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.306, allocations: 59.81 kB / 0.7892 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3062, allocations: 15.98 kB / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.3063, allocations: 31.86 kB / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.3064, allocations: 43.81 kB / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.3065, allocations: 4 kB / 0.7893 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.3067, allocations: 63.94 kB / 0.7893 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.3067, allocations: 23.91 kB / 0.7893 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.3068, allocations: 45.64 kB / 0.7894 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.3071, allocations: 104 kB / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3071, allocations: 0 / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3071, allocations: 0 / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.3071, allocations: 0 / 0.7895 GB, free: 9.527 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.0007863/0.3079, allocations: 450.4 kB / 0.7899 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.3079, allocations: 12.03 kB / 0.7899 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.308, allocations: 7.906 kB / 0.7899 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.3082, allocations: 174.9 kB / 0.7901 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/0.3083, allocations: 8 kB / 0.7901 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.3083, allocations: 7.984 kB / 0.7901 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.3086, allocations: 89.58 kB / 0.7902 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3086, allocations: 0 / 0.7902 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.3086, allocations: 3.984 kB / 0.7902 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3086, allocations: 0 / 0.7902 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.3088, allocations: 55.97 kB / 0.7903 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006505/0.3095, allocations: 320.7 kB / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.3097, allocations: 70.55 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.3097, allocations: 0 / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.31, allocations: 95.52 kB / 0.7907 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.31, allocations: 0 / 0.7907 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005668/0.3106, allocations: 205.5 kB / 0.7909 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.3106, allocations: 59.33 kB / 0.791 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.3108, allocations: 137.7 kB / 0.7911 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.425e-05/0.3109, allocations: 29.7 kB / 0.7911 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.311, allocations: 92.38 kB / 0.7912 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.311, allocations: 19.73 kB / 0.7912 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.311, allocations: 4 kB / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3112, allocations: 322.8 kB / 0.7916 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.3113, allocations: 31.98 kB / 0.7916 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.3114, allocations: 76.23 kB / 0.7917 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.776e-05/0.3115, allocations: 35.98 kB / 0.7917 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3115, allocations: 0 / 0.7917 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002952/0.3118, allocations: 149.4 kB / 0.7918 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3118, allocations: 4 kB / 0.7918 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3118, allocations: 4 kB / 0.7918 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.3119, allocations: 4 kB / 0.7919 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/0.312, allocations: 15.98 kB / 0.7919 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.312, allocations: 3.938 kB / 0.7919 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.162e-05/0.3121, allocations: 19.86 kB / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.3121, allocations: 12.11 kB / 0.7919 GB, free: 6.809 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 ($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.0001217/0.3122, allocations: 125.7 kB / 0.792 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.3123, allocations: 7.906 kB / 0.792 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.3123, allocations: 12.38 kB / 0.792 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3123, allocations: 0 / 0.792 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3123, allocations: 4 kB / 0.792 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3123, allocations: 0 / 0.792 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.3129, allocations: 446.4 kB / 0.7925 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3129, allocations: 0 / 0.7925 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.313, allocations: 7.938 kB / 0.7925 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.313, allocations: 0 / 0.7925 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.313, allocations: 4.453 kB / 0.7925 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.313, allocations: 4 kB / 0.7925 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.313, allocations: 3.953 kB / 0.7925 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.3134, allocations: 255.3 kB / 0.7927 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.3134, allocations: 85.02 kB / 0.7928 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.3135, allocations: 4 kB / 0.7928 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.428e-05/0.3136, allocations: 8 kB / 0.7928 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.3137, allocations: 7.984 kB / 0.7928 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3137, allocations: 11.94 kB / 0.7928 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.09e-05/0.3137, allocations: 103 kB / 0.7929 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3137, allocations: 0 / 0.7929 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000324/0.3141, allocations: 40 kB / 0.793 GB, free: 5.605 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 (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.0003957/0.3145, allocations: 160.4 kB / 0.7931 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.3148, allocations: 95.83 kB / 0.7932 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3148, allocations: 0 / 0.7932 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.3149, allocations: 60.31 kB / 0.7933 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.3151, allocations: 14.42 kB / 0.7933 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.3156, allocations: 223 kB / 0.7935 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.3161, allocations: 0.6926 MB / 0.7942 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.692e-05/0.3161, allocations: 7.984 kB / 0.7942 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.3161, allocations: 11.44 kB / 0.7942 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.3161, allocations: 0 / 0.7942 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of Templates: time 0.004777/0.3209, allocations: 1.551 MB / 0.7957 GB, free: 2.762 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) Environment - environmentSimulation: