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.001092/0.001092, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001107/0.001107, allocations: 181.8 kB / 17.22 MB, free: 5.625 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.529/1.529, 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.85/1.85, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001421/0.001421, allocations: 63.91 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2549, allocations: 114.6 MB / 0.7841 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002721/0.2577, allocations: 1.492 MB / 0.7855 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.259, allocations: 0.776 MB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.615e-05/0.259, allocations: 4 kB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.2591, allocations: 7.922 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.2591, allocations: 11.86 kB / 0.7863 GB, free: 1.586 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.0005055/0.2597, allocations: 130.6 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.2598, allocations: 71.72 kB / 0.7865 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.209e-05/0.2599, allocations: 24.11 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.544e-05/0.26, allocations: 31.92 kB / 0.7866 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.387e-05/0.26, allocations: 39.83 kB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.26, allocations: 4 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.2602, allocations: 95.84 kB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.2603, allocations: 11.92 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.2603, allocations: 35.86 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.2605, allocations: 143.9 kB / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2605, allocations: 0 / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2605, allocations: 0 / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2606, allocations: 0 / 0.7869 GB, free: 1.012 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.0005697/0.2611, allocations: 446.6 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2612, allocations: 12.03 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.2612, allocations: 12.78 kB / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2613, allocations: 176.2 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.2614, allocations: 8.359 kB / 0.7875 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.2614, allocations: 8.375 kB / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.2616, allocations: 73.78 kB / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2616, allocations: 0 / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2616, allocations: 0 / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.2616, allocations: 4 kB / 0.7876 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.2618, allocations: 35.97 kB / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4326/0.6944, allocations: 299.7 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.6947, allocations: 57.77 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.854e-05/0.6948, allocations: 30.31 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.6948, allocations: 1.031 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.6951, allocations: 83.36 kB / 0.7881 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 3.967e-06/0.6951, allocations: 1.219 kB / 0.7881 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000459/0.6956, allocations: 145.5 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.6957, allocations: 55.97 kB / 0.7883 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.6958, allocations: 126.7 kB / 0.7884 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.6958, allocations: 29.73 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.6959, allocations: 95.73 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.6959, allocations: 17.19 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.6959, allocations: 28.97 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.945e-05/0.696, allocations: 324.9 kB / 0.7889 GB, free: 48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.725e-05/0.6961, allocations: 23.27 kB / 0.7889 GB, free: 48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.953e-05/0.6962, allocations: 58 kB / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.6963, allocations: 94.95 kB / 0.789 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6963, allocations: 3.875 kB / 0.789 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001976/0.6965, allocations: 116.4 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.6966, allocations: 5.688 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6966, allocations: 2.719 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.6966, allocations: 2.844 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.6e-05/0.6967, allocations: 17.81 kB / 0.7892 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.6967, allocations: 3.969 kB / 0.7892 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.238e-05/0.6968, allocations: 12.78 kB / 0.7892 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.6968, allocations: 7.203 kB / 0.7892 GB, free: 47.87 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 8.145e-05/0.6969, allocations: 117 kB / 0.7893 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.6969, allocations: 15.72 kB / 0.7893 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.697, allocations: 13.73 kB / 0.7893 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.697, allocations: 1.5 kB / 0.7893 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.697, allocations: 1.625 kB / 0.7893 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.697, allocations: 0 / 0.7893 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.6975, allocations: 394.1 kB / 0.7897 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6975, allocations: 0 / 0.7897 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.6975, allocations: 6.344 kB / 0.7897 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6975, allocations: 0 / 0.7897 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.6975, allocations: 0 / 0.7897 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6975, allocations: 2.594 kB / 0.7897 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6976, allocations: 0 / 0.7897 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.6978, allocations: 225.6 kB / 0.7899 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.6979, allocations: 86.73 kB / 0.79 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.6979, allocations: 0 / 0.79 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.698, allocations: 2.625 kB / 0.79 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.6981, allocations: 8.734 kB / 0.79 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.6981, allocations: 4.688 kB / 0.79 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.336e-05/0.6981, allocations: 98.2 kB / 0.7901 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6981, allocations: 0 / 0.7901 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003473/0.6985, allocations: 36.53 kB / 0.7902 GB, free: 47.14 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.0003922/0.6989, allocations: 167.1 kB / 0.7903 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.6991, allocations: 74.91 kB / 0.7904 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6991, allocations: 3.844 kB / 0.7904 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/0.6993, allocations: 40.7 kB / 0.7904 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.6995, allocations: 12.56 kB / 0.7904 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.7, allocations: 188.7 kB / 0.7906 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.7001, allocations: 0.6866 MB / 0.7913 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.569e-05/0.7002, allocations: 8.469 kB / 0.7913 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.7002, allocations: 17 kB / 0.7913 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.7002, allocations: 0 / 0.7913 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.004373/0.7046, allocations: 1.489 MB / 0.7928 GB, free: 46.18 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1)