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.001136/0.001136, allocations: 105.4 kB / 15.7 MB, free: 28 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.001223/0.001223, allocations: 194.2 kB / 16.64 MB, free: 6.453 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.458/1.458, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.709/1.709, 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.001593/0.001593, allocations: 67.08 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.27, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002873/0.2729, allocations: 1.51 MB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.2744, allocations: 0.777 MB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.2745, allocations: 0 / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.2746, allocations: 7.938 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.2747, allocations: 19.8 kB / 0.7859 GB, free: 10.89 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.0006442/0.2753, allocations: 131.6 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.2755, allocations: 87.7 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.2756, allocations: 19.92 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.446e-05/0.2757, allocations: 43.89 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.878e-05/0.2758, allocations: 39.84 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.2758, allocations: 8 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.276, allocations: 99.84 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.276, allocations: 27.89 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.361e-05/0.2761, allocations: 43.8 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.2763, allocations: 147.9 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.2763, allocations: 4 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.146e-06/0.2763, allocations: 0 / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.2763, allocations: 0 / 0.7865 GB, free: 10.25 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.0006263/0.277, allocations: 462.5 kB / 0.787 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.277, allocations: 12.03 kB / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.2771, allocations: 42.61 kB / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.2771, allocations: 8.844 kB / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.2773, allocations: 179.3 kB / 0.7872 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.2773, allocations: 8.375 kB / 0.7872 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.2774, allocations: 12.36 kB / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.2777, allocations: 89.77 kB / 0.7873 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2777, allocations: 4 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.2777, allocations: 0 / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.2777, allocations: 3.938 kB / 0.7873 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.2779, allocations: 51.95 kB / 0.7874 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/0.2787, allocations: 316.8 kB / 0.7877 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.2789, allocations: 74.58 kB / 0.7877 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.279, allocations: 44.84 kB / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.2791, allocations: 0 / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003264/0.2794, allocations: 95.27 kB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.2794, allocations: 0 / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005281/0.2799, allocations: 189.5 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.28, allocations: 59.56 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.2801, allocations: 125.7 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.2802, allocations: 29.7 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.2803, allocations: 96.34 kB / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.2803, allocations: 19.75 kB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.2804, allocations: 33.7 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.2806, allocations: 322.8 kB / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.564e-05/0.2807, allocations: 35.92 kB / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.2808, allocations: 69.98 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.281, allocations: 105.9 kB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.281, allocations: 0 / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002853/0.2813, allocations: 145.4 kB / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.2813, allocations: 8.031 kB / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2813, allocations: 0 / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.2814, allocations: 4 kB / 0.789 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.2815, allocations: 15.98 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.2815, allocations: 4 kB / 0.7891 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.2816, allocations: 11.94 kB / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.2816, allocations: 4 kB / 0.7891 GB, free: 7.34 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.0001528/0.2818, allocations: 140.7 kB / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.2818, allocations: 7.906 kB / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.2818, allocations: 8.375 kB / 0.7892 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2819, allocations: 0 / 0.7892 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.2819, allocations: 0 / 0.7892 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.2819, allocations: 4 kB / 0.7892 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006071/0.2825, allocations: 430.3 kB / 0.7896 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2825, allocations: 3.984 kB / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.2826, allocations: 4.469 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.2826, allocations: 8 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2826, allocations: 3.938 kB / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.2826, allocations: 3.984 kB / 0.7897 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.2826, allocations: 3.938 kB / 0.7897 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.283, allocations: 247.3 kB / 0.7899 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.283, allocations: 85.12 kB / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.2831, allocations: 4 kB / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.427e-05/0.2832, allocations: 11.98 kB / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.2832, allocations: 15.92 kB / 0.79 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.2833, allocations: 4 kB / 0.79 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.776e-05/0.2834, allocations: 95.27 kB / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2834, allocations: 0 / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003499/0.2837, allocations: 51.83 kB / 0.7902 GB, free: 6.133 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.0009169/0.2846, allocations: 0.8375 MB / 0.791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.2849, allocations: 92.08 kB / 0.7911 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2849, allocations: 0 / 0.7911 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.285, allocations: 55.95 kB / 0.7911 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.2854, allocations: 15.92 kB / 0.7911 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.2872, allocations: 1.603 MB / 0.7927 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.2876, allocations: 0.6894 MB / 0.7934 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.69e-05/0.2877, allocations: 4 kB / 0.7934 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.2877, allocations: 23.42 kB / 0.7934 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2877, allocations: 0 / 0.7934 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.3081, allocations: 2.955 MB / 0.7963 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/7.821, allocations: 10.89 kB / 0.7963 GB, free: 15.86 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)