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.001611/0.001611, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.567/1.567, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.696/1.696, allocations: 292.3 MB / 0.5489 GB, free: 13.53 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.002347/0.002347, allocations: 71.34 kB / 0.6715 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3427, allocations: 114.6 MB / 0.7834 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.004039/0.3468, allocations: 1.496 MB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.3485, allocations: 0.7887 MB / 0.7856 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.3486, allocations: 4 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.201e-05/0.3487, allocations: 3.938 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.372e-05/0.3487, allocations: 7.875 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/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.0006972/0.3494, allocations: 131.5 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.3496, allocations: 95.7 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.3497, allocations: 19.97 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3498, allocations: 39.86 kB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.3499, allocations: 47.81 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.3499, allocations: 8 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.3501, allocations: 91.91 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.3502, allocations: 19.92 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.27e-05/0.3503, allocations: 43.86 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.3505, allocations: 163.7 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3506, allocations: 0 / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3506, allocations: 0 / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.3506, allocations: 0 / 0.7862 GB, free: 10.61 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.0008769/0.3515, allocations: 458.5 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3515, allocations: 12.03 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.3516, allocations: 8.844 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.3518, allocations: 172.3 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.3518, allocations: 12.38 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.3518, allocations: 4.375 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.3521, allocations: 93.88 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3522, allocations: 0 / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.3522, allocations: 0 / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3522, allocations: 4 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.3524, allocations: 43.97 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/0.353, allocations: 324.6 kB / 0.7873 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3532, allocations: 62.55 kB / 0.7874 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3533, allocations: 49 kB / 0.7874 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.3533, allocations: 3.984 kB / 0.7874 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002805/0.3536, allocations: 103.3 kB / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.934e-06/0.3536, allocations: 0 / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005087/0.3542, allocations: 185.5 kB / 0.7877 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.3542, allocations: 59.39 kB / 0.7878 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3543, allocations: 129.7 kB / 0.7879 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3544, allocations: 33.64 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.3544, allocations: 96.38 kB / 0.788 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.3545, allocations: 15.75 kB / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.3545, allocations: 33.7 kB / 0.7881 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3546, allocations: 326.8 kB / 0.7884 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.184e-05/0.3547, allocations: 27.98 kB / 0.7884 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.3548, allocations: 77.08 kB / 0.7885 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.355, allocations: 105.9 kB / 0.7886 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.355, allocations: 4 kB / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002422/0.3553, allocations: 137.4 kB / 0.7887 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3553, allocations: 7.984 kB / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3553, allocations: 4 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3553, allocations: 0 / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.305e-05/0.3554, allocations: 19.94 kB / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.3555, allocations: 8.141 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.27e-05/0.3555, allocations: 12 kB / 0.7888 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.3556, allocations: 4 kB / 0.7888 GB, free: 7.754 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 0.000117/0.3557, allocations: 133.6 kB / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.3557, allocations: 7.906 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.3557, allocations: 16.3 kB / 0.7889 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3557, allocations: 4 kB / 0.7889 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3558, allocations: 0 / 0.7889 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3558, allocations: 4 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005937/0.3564, allocations: 434.6 kB / 0.7893 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3564, allocations: 0 / 0.7893 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.3564, allocations: 7.984 kB / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3564, allocations: 96 / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.3565, allocations: 7.938 kB / 0.7894 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3565, allocations: 0 / 0.7894 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.3565, allocations: 7.938 kB / 0.7894 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.3568, allocations: 243.4 kB / 0.7896 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.3569, allocations: 85.02 kB / 0.7897 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.3569, allocations: 0 / 0.7897 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.987e-05/0.357, allocations: 11.98 kB / 0.7897 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.3571, allocations: 11.92 kB / 0.7897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.3571, allocations: 0 / 0.7897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.917e-05/0.3572, allocations: 102 kB / 0.7898 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3572, allocations: 4 kB / 0.7898 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003887/0.3576, allocations: 43.98 kB / 0.7898 GB, free: 6.559 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.0003725/0.3579, allocations: 160.8 kB / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.3583, allocations: 112 kB / 0.7901 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3583, allocations: 0 / 0.7901 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.3584, allocations: 51.91 kB / 0.7901 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.3587, allocations: 10.44 kB / 0.7902 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.3592, allocations: 203.9 kB / 0.7904 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.3595, allocations: 0.6924 MB / 0.791 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.19e-05/0.3596, allocations: 7.984 kB / 0.791 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.3596, allocations: 11.44 kB / 0.791 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.3596, allocations: 3.938 kB / 0.7911 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of Templates: time 0.004848/0.3645, allocations: 1.694 MB / 0.7927 GB, free: 3.59 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (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)