Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.001257/0.001257, allocations: 108 kB / 15.61 MB, free: 152 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.001077/0.001077, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.392/1.392, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.677/1.677, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001611/0.001611, allocations: 75.86 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.2004, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002181/0.2026, allocations: 1.488 MB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.2036, allocations: 0.7614 MB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.2037, allocations: 8 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.2037, allocations: 11.86 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.649e-05/0.2038, allocations: 11.86 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.0004718/0.2042, allocations: 111.6 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.2044, allocations: 75.78 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.2045, allocations: 11.98 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.2045, allocations: 39.84 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.2046, allocations: 31.91 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2046, allocations: 4 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.2048, allocations: 91.91 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.2048, allocations: 15.92 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.2049, allocations: 31.86 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.2051, allocations: 135.8 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2051, allocations: 0 / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2051, allocations: 0 / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2051, allocations: 0 / 0.7862 GB, free: 10.54 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.0005071/0.2056, allocations: 446.7 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2057, allocations: 8.031 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.241e-05/0.2057, allocations: 42.69 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.2057, allocations: 8.844 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.363e-05/0.2058, allocations: 176.2 kB / 0.7869 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.2059, allocations: 4.375 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.2059, allocations: 8.375 kB / 0.7869 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.2061, allocations: 73.72 kB / 0.787 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.2061, allocations: 4 kB / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2061, allocations: 3.984 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2061, allocations: 0 / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.2062, allocations: 39.91 kB / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.2066, allocations: 300.7 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.2068, allocations: 54.5 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.883e-05/0.2069, allocations: 32.97 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.2069, allocations: 4 kB / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.207, allocations: 75.44 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.2071, allocations: 0 / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003562/0.2074, allocations: 141.9 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.2075, allocations: 55.34 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.2075, allocations: 125.7 kB / 0.7878 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.2076, allocations: 29.7 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.2076, allocations: 92.12 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.2076, allocations: 15.81 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.2077, allocations: 25.7 kB / 0.7879 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.672e-05/0.2078, allocations: 326.8 kB / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.2078, allocations: 19.98 kB / 0.7882 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.329e-05/0.2079, allocations: 65.45 kB / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.2081, allocations: 93.06 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2081, allocations: 0 / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002012/0.2083, allocations: 113.6 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.2083, allocations: 12.03 kB / 0.7885 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.2083, allocations: 0 / 0.7885 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2084, allocations: 8 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.2084, allocations: 15.92 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2085, allocations: 4.062 kB / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/0.2085, allocations: 12 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.2085, allocations: 4 kB / 0.7886 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 7.301e-05/0.2086, allocations: 125.7 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.2086, allocations: 11.91 kB / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.2087, allocations: 12.36 kB / 0.7887 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2087, allocations: 0 / 0.7887 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2087, allocations: 0 / 0.7887 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2087, allocations: 4 kB / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.2091, allocations: 370.5 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2091, allocations: 0 / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.2091, allocations: 4 kB / 0.7891 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2091, allocations: 4 kB / 0.7891 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.2092, allocations: 7.984 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.2092, allocations: 7.875 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2092, allocations: 0 / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.2094, allocations: 207.4 kB / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.2095, allocations: 89 kB / 0.7894 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.2095, allocations: 3.938 kB / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.2096, allocations: 11.94 kB / 0.7894 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.2096, allocations: 3.984 kB / 0.7894 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.2096, allocations: 8 kB / 0.7894 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.2097, allocations: 91.27 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2097, allocations: 3.938 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002697/0.2099, allocations: 36 kB / 0.7895 GB, free: 6.785 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.0006552/0.2106, allocations: 0.7972 MB / 0.7903 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.2108, allocations: 68.14 kB / 0.7904 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2108, allocations: 4.062 kB / 0.7904 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.257e-05/0.2109, allocations: 35.92 kB / 0.7904 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.2112, allocations: 26.67 kB / 0.7904 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.2125, allocations: 1.506 MB / 0.7919 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.2128, allocations: 0.6846 MB / 0.7926 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.189e-05/0.2128, allocations: 7.984 kB / 0.7926 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.2128, allocations: 19.44 kB / 0.7926 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2128, allocations: 0 / 0.7926 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.069/2.282, allocations: 2.597 MB / 0.7951 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/14.67, allocations: 13 kB / 0.7951 GB, free: 0.9961 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)