Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 97.14 kB / 16.27 MB, free: 6.418 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.001229/0.00123, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.428/1.428, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.768/1.768, allocations: 292.3 MB / 0.5495 GB, free: 17.61 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.001733/0.001733, allocations: 80.41 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2425, allocations: 114.6 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002989/0.2455, allocations: 1.487 MB / 0.7855 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.2469, allocations: 0.7799 MB / 0.7862 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.247, allocations: 7.875 kB / 0.7862 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.247, allocations: 3.938 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-05/0.2471, allocations: 15.88 kB / 0.7863 GB, free: 1.543 MB / 0.6544 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.0006456/0.2478, allocations: 119.6 kB / 0.7864 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.2479, allocations: 79.72 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.248, allocations: 16.16 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.627e-05/0.2481, allocations: 31.92 kB / 0.7865 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.2482, allocations: 39.84 kB / 0.7865 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.2482, allocations: 4 kB / 0.7865 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.2484, allocations: 95.84 kB / 0.7866 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.2485, allocations: 15.97 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.2485, allocations: 39.8 kB / 0.7867 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.2488, allocations: 135.9 kB / 0.7868 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2488, allocations: 0 / 0.7868 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2488, allocations: 0 / 0.7868 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2488, allocations: 0 / 0.7868 GB, free: 0.9766 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006275/0.2494, allocations: 450.7 kB / 0.7873 GB, free: 488 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2495, allocations: 8.031 kB / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.2495, allocations: 8.844 kB / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.2497, allocations: 180.2 kB / 0.7874 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.2497, allocations: 4.375 kB / 0.7874 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.2497, allocations: 8.375 kB / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.2499, allocations: 73.77 kB / 0.7875 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.25, allocations: 0 / 0.7875 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.25, allocations: 3.984 kB / 0.7875 GB, free: 156 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.25, allocations: 4 kB / 0.7875 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.2501, allocations: 43.97 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3393/0.5895, allocations: 290.4 kB / 0.7878 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.5897, allocations: 57.25 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.55e-05/0.5898, allocations: 35.88 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.5898, allocations: 2.812 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002287/0.59, allocations: 80.55 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.993e-06/0.59, allocations: 0 / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.00039/0.5904, allocations: 152.3 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.5905, allocations: 52.06 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/0.5906, allocations: 128.4 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.5906, allocations: 32.42 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.5906, allocations: 94.67 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.5906, allocations: 11.94 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.5907, allocations: 26.69 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.5907, allocations: 324.3 kB / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.465e-05/0.5908, allocations: 22.92 kB / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.602e-05/0.5909, allocations: 64.17 kB / 0.7889 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.591, allocations: 91.28 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.591, allocations: 0 / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001916/0.5912, allocations: 124.8 kB / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.5913, allocations: 8.906 kB / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5913, allocations: 0 / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.5913, allocations: 2.344 kB / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.5914, allocations: 19 kB / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.5914, allocations: 4.906 kB / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.5915, allocations: 5.719 kB / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.5915, allocations: 6.484 kB / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,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 (11): * Single equations (assignments): 11 * 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 6.21e-05/0.5916, allocations: 120.8 kB / 0.7892 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.5916, allocations: 11 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.5916, allocations: 15.12 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5916, allocations: 0 / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5916, allocations: 0 / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5916, allocations: 6.297 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.592, allocations: 385.1 kB / 0.7896 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.592, allocations: 1.625 kB / 0.7896 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.5921, allocations: 4.375 kB / 0.7897 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5921, allocations: 2.625 kB / 0.7897 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.5921, allocations: 5.25 kB / 0.7897 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.5921, allocations: 2.75 kB / 0.7897 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5921, allocations: 0 / 0.7897 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.5923, allocations: 219.3 kB / 0.7899 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.5924, allocations: 88.05 kB / 0.79 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.5924, allocations: 0.5 kB / 0.79 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/0.5925, allocations: 6.547 kB / 0.79 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.5925, allocations: 7.141 kB / 0.79 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.5926, allocations: 7.219 kB / 0.79 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.632e-05/0.5926, allocations: 97.47 kB / 0.7901 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5926, allocations: 0.9375 kB / 0.7901 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000306/0.5929, allocations: 42.75 kB / 0.7901 GB, free: 47.06 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002986/0.5932, allocations: 168.2 kB / 0.7903 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.5935, allocations: 74.59 kB / 0.7903 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5935, allocations: 0.5625 kB / 0.7903 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.872e-05/0.5936, allocations: 36.77 kB / 0.7904 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.5939, allocations: 11.17 kB / 0.7904 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.5943, allocations: 219 kB / 0.7906 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.5944, allocations: 0.6894 MB / 0.7913 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.5944, allocations: 12.69 kB / 0.7913 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.5944, allocations: 3.188 kB / 0.7913 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.00325/0.5977, allocations: 1.616 MB / 0.7929 GB, free: 46.02 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1)