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.001327/0.001328, 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.001375/0.001376, allocations: 194.6 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.532/1.532, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.766/1.766, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001441/0.001441, allocations: 70.36 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2828, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.00365/0.2865, allocations: 1.496 MB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.2882, allocations: 0.7848 MB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.49e-05/0.2883, allocations: 0 / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.371e-05/0.2883, allocations: 7.938 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.32e-05/0.2885, allocations: 11.86 kB / 0.7857 GB, free: 11.07 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.0007044/0.2892, allocations: 123.6 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.2893, allocations: 75.77 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.2894, allocations: 16.17 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.209e-05/0.2895, allocations: 35.8 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.18e-05/0.2896, allocations: 39.83 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.2896, allocations: 4 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.2899, allocations: 99.91 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.27e-05/0.2899, allocations: 11.97 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.29, allocations: 35.8 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.2902, allocations: 143.8 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2902, allocations: 0 / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2902, allocations: 0 / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2903, allocations: 0 / 0.7863 GB, free: 10.49 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.000671/0.2909, allocations: 442.6 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.291, allocations: 8.031 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.291, allocations: 46.73 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.2911, allocations: 8.844 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.2912, allocations: 175.4 kB / 0.7869 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.2913, allocations: 384 / 0.7869 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.2913, allocations: 8.375 kB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.2915, allocations: 77.56 kB / 0.787 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.2915, allocations: 3.938 kB / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.2915, allocations: 0 / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2915, allocations: 7.938 kB / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.2917, allocations: 43.97 kB / 0.7871 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.2922, allocations: 296.7 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.2924, allocations: 54.55 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.611e-05/0.2925, allocations: 44.91 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.2925, allocations: 0 / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.2927, allocations: 75.38 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.2928, allocations: 0 / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004178/0.2932, allocations: 145.6 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.2932, allocations: 51.41 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.2934, allocations: 133.8 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.2934, allocations: 29.64 kB / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.2935, allocations: 100 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.2935, allocations: 11.81 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.2935, allocations: 25.7 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2937, allocations: 322.8 kB / 0.7883 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.218e-05/0.2938, allocations: 19.98 kB / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.2939, allocations: 65.12 kB / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.294, allocations: 93.06 kB / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2941, allocations: 0 / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002235/0.2943, allocations: 109.5 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2943, allocations: 4 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.2943, allocations: 7.938 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2943, allocations: 0 / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.2944, allocations: 20.09 kB / 0.7886 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.2945, allocations: 3.984 kB / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.835e-05/0.2945, allocations: 19.84 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.2946, allocations: 7.938 kB / 0.7886 GB, free: 7.801 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.0001214/0.2947, allocations: 118.5 kB / 0.7887 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.2947, allocations: 11.84 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.2948, allocations: 12.36 kB / 0.7888 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2948, allocations: 0 / 0.7888 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2948, allocations: 7.938 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2948, allocations: 4.031 kB / 0.7888 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.2953, allocations: 386.8 kB / 0.7891 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2953, allocations: 0 / 0.7891 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.2954, allocations: 4 kB / 0.7891 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2954, allocations: 0 / 0.7891 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.2954, allocations: 3.984 kB / 0.7892 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.289e-06/0.2954, allocations: 7.938 kB / 0.7892 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2955, allocations: 0 / 0.7892 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.2958, allocations: 219.4 kB / 0.7894 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.2958, allocations: 85.02 kB / 0.7894 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.2959, allocations: 0 / 0.7894 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.525e-05/0.296, allocations: 11.92 kB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.296, allocations: 8 kB / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.296, allocations: 3.984 kB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.949e-05/0.2961, allocations: 103.3 kB / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2961, allocations: 0 / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003312/0.2964, allocations: 36 kB / 0.7896 GB, free: 6.699 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.0009626/0.2974, allocations: 0.8194 MB / 0.7904 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.2977, allocations: 75.91 kB / 0.7905 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2977, allocations: 0 / 0.7905 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.2978, allocations: 39.91 kB / 0.7905 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.2981, allocations: 18.69 kB / 0.7905 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.3001, allocations: 1.512 MB / 0.792 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.3004, allocations: 0.6924 MB / 0.7927 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.101e-05/0.3004, allocations: 4 kB / 0.7927 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.3005, allocations: 23.42 kB / 0.7927 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3005, allocations: 0 / 0.7927 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.3268, allocations: 2.699 MB / 0.7953 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/8.085, allocations: 9.375 kB / 0.7954 GB, free: 0.8164 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1)