Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.00132/0.00132, 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.00174/0.00174, allocations: 190.8 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.38/1.38, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.654/1.654, allocations: 292.3 MB / 0.5489 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.001527/0.001527, allocations: 73.97 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2026, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002368/0.205, allocations: 1.487 MB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.2061, allocations: 0.7653 MB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.345e-05/0.2061, allocations: 0 / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.2062, allocations: 7.938 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.248e-05/0.2062, allocations: 7.875 kB / 0.7857 GB, free: 11.08 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.000453/0.2067, allocations: 119.6 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.6e-05/0.2068, allocations: 75.78 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.13e-05/0.2069, allocations: 11.92 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.686e-05/0.2069, allocations: 27.92 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.207, allocations: 31.91 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.207, allocations: 4 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.2072, allocations: 103.8 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.2072, allocations: 15.91 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.2072, allocations: 31.86 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.2074, allocations: 135.9 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2074, allocations: 4 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2074, allocations: 0 / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2075, allocations: 0 / 0.7862 GB, free: 10.53 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.0004839/0.2079, allocations: 442.6 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.208, allocations: 8.031 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.208, allocations: 38.69 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.2081, allocations: 16.77 kB / 0.7867 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.827e-05/0.2082, allocations: 176.2 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.2082, allocations: 4.375 kB / 0.7869 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.2082, allocations: 4.375 kB / 0.7869 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.2084, allocations: 69.78 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.2084, allocations: 7.984 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.2084, allocations: 0 / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2084, allocations: 0 / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.2085, allocations: 43.91 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.2089, allocations: 300.7 kB / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.2091, allocations: 50.56 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.253e-05/0.2092, allocations: 36.97 kB / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.2092, allocations: 4 kB / 0.7874 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.2094, allocations: 83.3 kB / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.2094, allocations: 0 / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003509/0.2097, allocations: 133.6 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.2098, allocations: 51.48 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.311e-05/0.2099, allocations: 137.7 kB / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2099, allocations: 25.7 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.2099, allocations: 92.12 kB / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.2099, allocations: 11.81 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.21, allocations: 29.7 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.2101, allocations: 326.8 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.567e-05/0.2102, allocations: 19.98 kB / 0.7882 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.488e-05/0.2102, allocations: 73.39 kB / 0.7883 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.2104, allocations: 93.06 kB / 0.7884 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2104, allocations: 0 / 0.7884 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000202/0.2106, allocations: 113.4 kB / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.2106, allocations: 4 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2107, allocations: 4 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.2107, allocations: 0 / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.2107, allocations: 20.14 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2108, allocations: 3.938 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.694e-05/0.2108, allocations: 4 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.2108, allocations: 4 kB / 0.7885 GB, free: 7.867 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.pDown,$PRE.bli.pDown,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.054e-05/0.2109, allocations: 133 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.2109, allocations: 11.89 kB / 0.7887 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.211, allocations: 4.375 kB / 0.7887 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.211, allocations: 0 / 0.7887 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.211, allocations: 7.938 kB / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.211, allocations: 0 / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/0.2114, allocations: 382.4 kB / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2114, allocations: 0 / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.2115, allocations: 7.984 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2115, allocations: 0 / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2115, allocations: 4 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.2115, allocations: 3.938 kB / 0.7891 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2115, allocations: 4 kB / 0.7891 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.2117, allocations: 207.3 kB / 0.7893 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.2118, allocations: 85.02 kB / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.2118, allocations: 0 / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.033e-05/0.2119, allocations: 11.94 kB / 0.7894 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.212, allocations: 8.016 kB / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.212, allocations: 8 kB / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.563e-05/0.212, allocations: 95.27 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.323e-06/0.212, allocations: 0 / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000292/0.2123, allocations: 43.92 kB / 0.7895 GB, free: 6.773 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.pDown,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.0006662/0.213, allocations: 0.7955 MB / 0.7903 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.2132, allocations: 79.86 kB / 0.7904 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2132, allocations: 0 / 0.7904 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.147e-05/0.2133, allocations: 31.98 kB / 0.7904 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.2136, allocations: 20.17 kB / 0.7904 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.2149, allocations: 1.498 MB / 0.7919 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.2151, allocations: 0.6924 MB / 0.7926 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.772e-05/0.2151, allocations: 4 kB / 0.7926 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.2152, allocations: 23.42 kB / 0.7926 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of SimCode: time 1.332e-06/0.2152, allocations: 0 / 0.7926 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.066/2.282, allocations: 2.587 MB / 0.7951 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/14.67, allocations: 11.75 kB / 0.7951 GB, free: 0.9922 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)