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.001071/0.001071, 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.00123/0.00123, allocations: 186.8 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.377/1.377, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.86/1.86, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001449/0.001449, allocations: 66.91 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.223, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003072/0.2261, allocations: 1.51 MB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.2277, allocations: 0.7887 MB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.2278, allocations: 3.938 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.686e-05/0.2278, allocations: 3.938 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.164e-05/0.2279, allocations: 11.86 kB / 0.7859 GB, free: 10.93 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.0006871/0.2286, allocations: 131.5 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.2287, allocations: 95.69 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.2288, allocations: 12 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.741e-05/0.2289, allocations: 43.84 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.592e-05/0.229, allocations: 43.81 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.2291, allocations: 8 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.2293, allocations: 95.91 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.2293, allocations: 23.92 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/0.2294, allocations: 35.86 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.2297, allocations: 167.7 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2297, allocations: 0 / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2297, allocations: 0 / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.2297, allocations: 0 / 0.7865 GB, free: 10.29 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.0006324/0.2303, allocations: 462.5 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2304, allocations: 12.03 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.2304, allocations: 30.75 kB / 0.787 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.2305, allocations: 8.844 kB / 0.787 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.2306, allocations: 180.2 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.2306, allocations: 8.375 kB / 0.7872 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.2307, allocations: 4.375 kB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.2309, allocations: 97.69 kB / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2309, allocations: 0 / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2309, allocations: 0 / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.2309, allocations: 0 / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.2311, allocations: 43.97 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.2317, allocations: 328.7 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.2319, allocations: 66.55 kB / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.232, allocations: 52.77 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.232, allocations: 0 / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/0.2323, allocations: 107.2 kB / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.234e-06/0.2323, allocations: 0 / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005702/0.2329, allocations: 181.5 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.2329, allocations: 59.39 kB / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.2331, allocations: 129.1 kB / 0.7882 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2331, allocations: 29.7 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.2332, allocations: 96.36 kB / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.2332, allocations: 19.75 kB / 0.7883 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.2332, allocations: 33.7 kB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2334, allocations: 326.8 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/0.2335, allocations: 23.98 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.2336, allocations: 77.98 kB / 0.7888 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.2338, allocations: 113.9 kB / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2338, allocations: 0 / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002631/0.2341, allocations: 133.3 kB / 0.789 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2341, allocations: 8 kB / 0.789 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.2341, allocations: 0 / 0.789 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2341, allocations: 4 kB / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.2342, allocations: 19.92 kB / 0.789 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2343, allocations: 160 / 0.7891 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.353e-05/0.2343, allocations: 19.98 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.2344, allocations: 4 kB / 0.7891 GB, free: 7.375 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.0001078/0.2345, allocations: 137.4 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.2345, allocations: 3.906 kB / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.2345, allocations: 12.36 kB / 0.7892 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2346, allocations: 0 / 0.7892 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.2346, allocations: 4 kB / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2346, allocations: 4 kB / 0.7892 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005829/0.2352, allocations: 442.7 kB / 0.7896 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2352, allocations: 0 / 0.7896 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.2352, allocations: 4 kB / 0.7897 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2353, allocations: 0 / 0.7897 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.2353, allocations: 7.984 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2353, allocations: 0 / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.2353, allocations: 7.875 kB / 0.7897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.2357, allocations: 251.3 kB / 0.7899 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.2357, allocations: 81.11 kB / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.2357, allocations: 0 / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2359, allocations: 7.984 kB / 0.79 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.2359, allocations: 11.94 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.2359, allocations: 7.984 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.547e-05/0.236, allocations: 91.27 kB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.236, allocations: 4 kB / 0.7901 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003586/0.2364, allocations: 47.84 kB / 0.7901 GB, free: 6.176 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.0008595/0.2372, allocations: 0.8439 MB / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.2375, allocations: 95.81 kB / 0.7911 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2375, allocations: 0 / 0.7911 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.2376, allocations: 47.91 kB / 0.7911 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.238, allocations: 23.05 kB / 0.7911 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.2398, allocations: 1.599 MB / 0.7927 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.24, allocations: 0.6932 MB / 0.7934 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.508e-05/0.2401, allocations: 11.98 kB / 0.7934 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.2402, allocations: 19.44 kB / 0.7934 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of SimCode: time 7.32e-07/0.2402, allocations: 0 / 0.7934 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.26, allocations: 2.962 MB / 0.7963 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.115, allocations: 7.359 kB / 0.7963 GB, free: 15.89 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)