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.001149/0.001149, 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.001113/0.001113, allocations: 185.9 kB / 16.62 MB, free: 6.582 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.412/1.412, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.712/1.712, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001498/0.001498, allocations: 73.34 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2219, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002786/0.2247, allocations: 1.496 MB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.2261, allocations: 0.7847 MB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.2262, allocations: 0 / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.2263, allocations: 7.938 kB / 0.7859 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.228e-05/0.2263, allocations: 19.8 kB / 0.7859 GB, free: 10.97 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.000665/0.227, allocations: 119.6 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.2271, allocations: 75.77 kB / 0.7861 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2273, allocations: 8.188 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.704e-05/0.2273, allocations: 39.86 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.009e-05/0.2274, allocations: 39.81 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.2274, allocations: 8 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.2277, allocations: 91.91 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.2277, allocations: 15.98 kB / 0.7863 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.2277, allocations: 31.8 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.228, allocations: 143.8 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.228, allocations: 0 / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.228, allocations: 0 / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.228, allocations: 0 / 0.7864 GB, free: 10.41 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.0005856/0.2286, allocations: 454.6 kB / 0.7869 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2287, allocations: 8.031 kB / 0.7869 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.2287, allocations: 38.73 kB / 0.7869 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.2287, allocations: 8.844 kB / 0.7869 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2289, allocations: 176.2 kB / 0.7871 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.2289, allocations: 4.375 kB / 0.7871 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.2289, allocations: 8.312 kB / 0.7871 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.2291, allocations: 77.56 kB / 0.7872 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.2291, allocations: 4 kB / 0.7872 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.2292, allocations: 4 kB / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.2292, allocations: 7.984 kB / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.2293, allocations: 35.97 kB / 0.7872 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.2298, allocations: 296.7 kB / 0.7875 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.23, allocations: 62.48 kB / 0.7876 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.31e-05/0.2301, allocations: 36.97 kB / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.2301, allocations: 4.062 kB / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.2303, allocations: 75.31 kB / 0.7877 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.2303, allocations: 0 / 0.7877 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004287/0.2308, allocations: 153.5 kB / 0.7878 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.2308, allocations: 55.41 kB / 0.7879 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.831e-05/0.2309, allocations: 128.6 kB / 0.788 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.231, allocations: 29.7 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.231, allocations: 96.03 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.2311, allocations: 19.8 kB / 0.7881 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.2311, allocations: 25.7 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2312, allocations: 322.8 kB / 0.7885 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.2313, allocations: 27.98 kB / 0.7885 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.101e-05/0.2314, allocations: 57.12 kB / 0.7885 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.2316, allocations: 93.06 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2316, allocations: 3.938 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002284/0.2318, allocations: 109.5 kB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2318, allocations: 4.156 kB / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2319, allocations: 12 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2319, allocations: 3.938 kB / 0.7888 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.391e-05/0.232, allocations: 12 kB / 0.7888 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.232, allocations: 3.984 kB / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.536e-05/0.2321, allocations: 15.84 kB / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.2321, allocations: 7.938 kB / 0.7888 GB, free: 7.695 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 8.649e-05/0.2322, allocations: 122.4 kB / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.2322, allocations: 3.906 kB / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.2322, allocations: 20.36 kB / 0.7889 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2322, allocations: 0 / 0.7889 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2322, allocations: 0 / 0.7889 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2322, allocations: 0 / 0.7889 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.2327, allocations: 382.5 kB / 0.7893 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2327, allocations: 0 / 0.7893 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.2328, allocations: 7.938 kB / 0.7893 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2328, allocations: 0 / 0.7893 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.2328, allocations: 7.984 kB / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2328, allocations: 3.938 kB / 0.7893 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2328, allocations: 4 kB / 0.7893 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.2331, allocations: 211.4 kB / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.2332, allocations: 85.02 kB / 0.7896 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.2332, allocations: 0 / 0.7896 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.2333, allocations: 11.92 kB / 0.7896 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.2333, allocations: 12 kB / 0.7896 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.2334, allocations: 3.984 kB / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.612e-05/0.2334, allocations: 95.27 kB / 0.7897 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2334, allocations: 3.938 kB / 0.7897 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003242/0.2338, allocations: 36 kB / 0.7898 GB, free: 6.605 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.0008/0.2346, allocations: 0.8252 MB / 0.7906 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.2348, allocations: 67.91 kB / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2348, allocations: 0 / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2349, allocations: 44.22 kB / 0.7907 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.2352, allocations: 18.91 kB / 0.7907 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.2368, allocations: 1.519 MB / 0.7922 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.2371, allocations: 0.6947 MB / 0.7928 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.848e-05/0.2372, allocations: 8 kB / 0.7929 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.2372, allocations: 23.38 kB / 0.7929 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2372, allocations: 0 / 0.7929 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.2556, allocations: 2.713 MB / 0.7955 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.201, allocations: 10.38 kB / 0.7955 GB, free: 0.707 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)