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.001712/0.001712, allocations: 105.4 kB / 15.7 MB, free: 28 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.002328/0.002328, allocations: 194.3 kB / 16.64 MB, free: 6.48 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.663/1.663, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.771/1.771, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001443/0.001443, allocations: 67.42 kB / 0.6723 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3047, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003988/0.3087, allocations: 1.508 MB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.3105, allocations: 0.7887 MB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.872e-05/0.3107, allocations: 0 / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.855e-05/0.3107, allocations: 7.875 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.731e-05/0.3108, allocations: 15.86 kB / 0.7864 GB, free: 10.4 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.000733/0.3116, allocations: 131.6 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.3118, allocations: 87.7 kB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3119, allocations: 19.98 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.312, allocations: 39.91 kB / 0.7867 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.832e-05/0.3121, allocations: 43.81 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.3122, allocations: 8 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.3125, allocations: 99.84 kB / 0.7868 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.3125, allocations: 23.92 kB / 0.7868 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.697e-05/0.3126, allocations: 35.8 kB / 0.7869 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.313, allocations: 159.6 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.313, allocations: 0 / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.313, allocations: 4 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001338/0.3131, allocations: 0 / 0.787 GB, free: 9.762 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.0008362/0.314, allocations: 466.5 kB / 0.7875 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.314, allocations: 8.031 kB / 0.7875 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.3141, allocations: 12.84 kB / 0.7875 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.3142, allocations: 175.5 kB / 0.7876 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.3143, allocations: 8.359 kB / 0.7877 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.3143, allocations: 8.375 kB / 0.7877 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.3146, allocations: 85.95 kB / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3146, allocations: 3.938 kB / 0.7877 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.3147, allocations: 7.922 kB / 0.7878 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.3147, allocations: 4 kB / 0.7878 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.3148, allocations: 43.97 kB / 0.7878 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007667/0.3156, allocations: 316.7 kB / 0.7881 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.3158, allocations: 74.58 kB / 0.7882 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.316, allocations: 44.84 kB / 0.7882 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.316, allocations: 4.141 kB / 0.7882 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.3163, allocations: 95.34 kB / 0.7883 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 3.727e-06/0.3163, allocations: 4 kB / 0.7883 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005307/0.3168, allocations: 185.5 kB / 0.7885 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.3169, allocations: 63.39 kB / 0.7886 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.317, allocations: 121.8 kB / 0.7887 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.3171, allocations: 33.7 kB / 0.7887 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.3171, allocations: 88.36 kB / 0.7888 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.3171, allocations: 19.75 kB / 0.7888 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.3172, allocations: 37.7 kB / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3173, allocations: 330.7 kB / 0.7892 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.3174, allocations: 23.98 kB / 0.7892 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3175, allocations: 77.98 kB / 0.7893 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.3177, allocations: 105.9 kB / 0.7894 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3177, allocations: 0 / 0.7894 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002629/0.318, allocations: 141.3 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.318, allocations: 4.938 kB / 0.7895 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.3181, allocations: 4 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3181, allocations: 0 / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.305e-05/0.3182, allocations: 15.98 kB / 0.7895 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3182, allocations: 7.938 kB / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.3183, allocations: 16.36 kB / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.3183, allocations: 4 kB / 0.7895 GB, free: 6.898 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.0001014/0.3184, allocations: 129.9 kB / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.3184, allocations: 11.91 kB / 0.7897 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.3185, allocations: 12.25 kB / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3185, allocations: 7.984 kB / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3185, allocations: 0 / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3185, allocations: 0 / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005937/0.3191, allocations: 438.3 kB / 0.7901 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3191, allocations: 4 kB / 0.7901 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.3193, allocations: 7.938 kB / 0.7901 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3193, allocations: 0 / 0.7901 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3193, allocations: 3.984 kB / 0.7901 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3193, allocations: 0 / 0.7901 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3193, allocations: 3.938 kB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.3197, allocations: 247.4 kB / 0.7904 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.3198, allocations: 85.02 kB / 0.7904 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.3198, allocations: 4 kB / 0.7905 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.627e-05/0.3199, allocations: 7.984 kB / 0.7905 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.3199, allocations: 3.938 kB / 0.7905 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.32, allocations: 11.98 kB / 0.7905 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.934e-05/0.32, allocations: 95.27 kB / 0.7906 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.32, allocations: 0 / 0.7906 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00033/0.3204, allocations: 40 kB / 0.7906 GB, free: 5.707 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.0004073/0.3208, allocations: 176.2 kB / 0.7908 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.3211, allocations: 91.83 kB / 0.7909 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3211, allocations: 0 / 0.7909 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.3213, allocations: 48.3 kB / 0.7909 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.3216, allocations: 11.98 kB / 0.7909 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.3221, allocations: 206.8 kB / 0.7911 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.3224, allocations: 0.6885 MB / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.156e-05/0.3224, allocations: 11.98 kB / 0.7918 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.3225, allocations: 15.38 kB / 0.7918 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3225, allocations: 4 kB / 0.7918 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of Templates: time 0.004854/0.3273, allocations: 1.702 MB / 0.7935 GB, free: 2.73 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)