Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.001818/0.001818, allocations: 104 kB / 15.6 MB, free: 148 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.002124/0.002124, allocations: 195.9 kB / 16.53 MB, free: 6.617 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.473/1.473, allocations: 205.1 MB / 222.4 MB, free: 4.406 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.751/1.751, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001778/0.001778, allocations: 68.31 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2583, allocations: 114.5 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003114/0.2615, allocations: 1.511 MB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.2631, allocations: 0.7848 MB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.245e-05/0.2632, allocations: 7.938 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.2632, allocations: 7.922 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.237e-05/0.2633, allocations: 7.875 kB / 0.7857 GB, free: 11 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.0006836/0.264, allocations: 140.5 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.2641, allocations: 87.7 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2643, allocations: 16 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.2644, allocations: 47.83 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.44e-05/0.2644, allocations: 35.84 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.2645, allocations: 8 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.2647, allocations: 95.91 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.2647, allocations: 23.91 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.2648, allocations: 39.84 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.265, allocations: 159.8 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.265, allocations: 0 / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2651, allocations: 4 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5e-06/0.2651, 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006744/0.2657, allocations: 454.5 kB / 0.7868 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2658, allocations: 8.031 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.2658, allocations: 42.73 kB / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.2659, allocations: 8.844 kB / 0.7868 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.266, allocations: 180.2 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.266, allocations: 12.36 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.2661, allocations: 4.375 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.2663, allocations: 93.7 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.2663, allocations: 0 / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.2663, allocations: 7.984 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2663, allocations: 0 / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.2665, allocations: 47.91 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.2672, allocations: 324.8 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.2673, allocations: 66.58 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.2675, allocations: 44.84 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.2675, allocations: 4 kB / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003171/0.2678, allocations: 99.27 kB / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.704e-06/0.2678, allocations: 0 / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005516/0.2684, allocations: 177.5 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.2685, allocations: 59.34 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.2687, allocations: 137.7 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2687, allocations: 29.7 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.2688, allocations: 92.36 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.2688, allocations: 19.75 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.2689, allocations: 33.7 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.269, allocations: 326.8 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.448e-05/0.2691, allocations: 27.98 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.2693, allocations: 69.98 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.2695, allocations: 105.9 kB / 0.7887 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.2695, allocations: 7.984 kB / 0.7887 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002969/0.2698, allocations: 137.3 kB / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2699, allocations: 8 kB / 0.7889 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2699, allocations: 0 / 0.7889 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.2699, allocations: 4 kB / 0.7889 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.27, allocations: 15.92 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.27, allocations: 4 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/0.2701, allocations: 8 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.2701, allocations: 16.23 kB / 0.7889 GB, free: 7.445 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.0001323/0.2703, allocations: 129.8 kB / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.2703, allocations: 7.906 kB / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.2704, allocations: 12.38 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2704, allocations: 0 / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2704, allocations: 3.938 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2704, allocations: 3.984 kB / 0.7891 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000627/0.271, allocations: 446.4 kB / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.271, allocations: 0 / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.2711, allocations: 4 kB / 0.7895 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2711, allocations: 0 / 0.7895 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.2711, allocations: 3.984 kB / 0.7895 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2711, allocations: 4 kB / 0.7895 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2711, allocations: 3.938 kB / 0.7895 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.2715, allocations: 247.3 kB / 0.7897 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.2715, allocations: 89.09 kB / 0.7898 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.2716, allocations: 0 / 0.7898 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.716e-05/0.2717, allocations: 4 kB / 0.7898 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.2717, allocations: 11.92 kB / 0.7898 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.2718, allocations: 7.938 kB / 0.7899 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.265e-05/0.2719, allocations: 98.02 kB / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2719, allocations: 0 / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003274/0.2722, allocations: 47.89 kB / 0.79 GB, free: 6.25 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.0009127/0.2731, allocations: 0.8438 MB / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.2734, allocations: 95.83 kB / 0.7909 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2734, allocations: 0 / 0.7909 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.2735, allocations: 47.91 kB / 0.791 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.2738, allocations: 19.92 kB / 0.791 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.2758, allocations: 1.585 MB / 0.7925 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.2761, allocations: 0.7011 MB / 0.7932 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.867e-05/0.2762, allocations: 12.16 kB / 0.7932 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.2762, allocations: 19.44 kB / 0.7932 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of SimCode: time 2.003e-06/0.2762, allocations: 3.938 kB / 0.7932 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.2967, allocations: 2.94 MB / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.078, allocations: 13.28 kB / 0.7961 GB, free: 15.96 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)