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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 109.4 kB / 15.69 MB, free: 128 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.001724/0.001724, allocations: 186.2 kB / 16.62 MB, free: 6.613 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.504/1.504, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.724/1.724, 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.001512/0.001513, allocations: 77.31 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2475, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002881/0.2505, allocations: 1.496 MB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.252, allocations: 0.7809 MB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.2521, allocations: 0 / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.2521, allocations: 3.938 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.333e-05/0.2522, allocations: 15.86 kB / 0.7859 GB, free: 10.94 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.0006051/0.2528, allocations: 119.6 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.2529, allocations: 83.7 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.486e-05/0.253, allocations: 8.172 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.254e-05/0.2531, allocations: 35.91 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.091e-05/0.2532, allocations: 31.84 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.2532, allocations: 8 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.2534, allocations: 99.78 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.2534, allocations: 19.97 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.2535, allocations: 39.8 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.2537, allocations: 143.8 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2537, allocations: 4 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2538, allocations: 0 / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2538, allocations: 0 / 0.7864 GB, free: 10.36 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006139/0.2544, allocations: 442.6 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2544, allocations: 8.031 kB / 0.7869 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.2545, allocations: 38.75 kB / 0.7869 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.2545, allocations: 12.84 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.2546, allocations: 180.2 kB / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.2547, allocations: 4.312 kB / 0.7871 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.2547, allocations: 4.375 kB / 0.7871 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.2549, allocations: 77.58 kB / 0.7872 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2549, allocations: 3.938 kB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.2549, allocations: 0 / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2549, allocations: 4 kB / 0.7872 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.2551, allocations: 35.97 kB / 0.7872 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.2555, allocations: 308.7 kB / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.2557, allocations: 46.56 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.2558, allocations: 32.97 kB / 0.7876 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.2558, allocations: 7.938 kB / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.256, allocations: 83.36 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.256, allocations: 0 / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004133/0.2565, allocations: 153.6 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.2565, allocations: 51.41 kB / 0.7879 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.962e-05/0.2566, allocations: 129 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.2566, allocations: 33.7 kB / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/0.2567, allocations: 95.98 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.2567, allocations: 15.81 kB / 0.7881 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.2568, allocations: 29.7 kB / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.2569, allocations: 326.8 kB / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.928e-05/0.257, allocations: 19.98 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.82e-05/0.2571, allocations: 61.14 kB / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.2572, allocations: 89.06 kB / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2572, allocations: 4 kB / 0.7886 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002183/0.2575, allocations: 109.5 kB / 0.7887 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2575, allocations: 4 kB / 0.7887 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2575, allocations: 4 kB / 0.7887 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2575, allocations: 0 / 0.7887 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.231e-05/0.2576, allocations: 27.8 kB / 0.7888 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2576, allocations: 0 / 0.7888 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.171e-05/0.2577, allocations: 16 kB / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.2577, allocations: 7.938 kB / 0.7888 GB, free: 7.66 MB / 0.6075 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 0.0001014/0.2578, allocations: 126.5 kB / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.2578, allocations: 3.906 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.2579, allocations: 8.375 kB / 0.7889 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2579, allocations: 0 / 0.7889 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2579, allocations: 0 / 0.7889 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2579, allocations: 3.938 kB / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.2584, allocations: 394.5 kB / 0.7893 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2584, allocations: 4 kB / 0.7893 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.2584, allocations: 7.984 kB / 0.7893 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2585, allocations: 0 / 0.7893 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2585, allocations: 0 / 0.7893 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2585, allocations: 3.938 kB / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2585, allocations: 0 / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.2588, allocations: 219.4 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.2588, allocations: 93 kB / 0.7896 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.2589, allocations: 0 / 0.7896 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.23e-05/0.259, allocations: 7.938 kB / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.259, allocations: 3.984 kB / 0.7896 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.259, allocations: 4 kB / 0.7896 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.363e-05/0.2591, allocations: 99.27 kB / 0.7897 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2591, allocations: 0 / 0.7897 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003104/0.2594, 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: 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.0008909/0.2603, allocations: 0.8183 MB / 0.7906 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.2606, allocations: 71.89 kB / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2606, allocations: 0 / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.2607, allocations: 35.98 kB / 0.7907 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.261, allocations: 18.5 kB / 0.7907 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.2626, allocations: 1.52 MB / 0.7922 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.2628, allocations: 0.6923 MB / 0.7928 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.408e-05/0.2629, allocations: 7.938 kB / 0.7929 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.2629, allocations: 27.42 kB / 0.7929 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.2629, allocations: 0 / 0.7929 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.281, allocations: 2.706 MB / 0.7955 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/7.74, allocations: 12.03 kB / 0.7955 GB, free: 0.6758 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1)