Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 104 kB / 16.36 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.478/1.478, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.5496 GB, free: 17.52 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.001521/0.001521, allocations: 70.09 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1984, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002758/0.2012, allocations: 1.499 MB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.2025, allocations: 0.776 MB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.2025, allocations: 3.938 kB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.2026, allocations: 3.938 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.748e-05/0.2027, allocations: 7.875 kB / 0.787 GB, free: 0.8789 MB / 0.6544 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.0005546/0.2032, allocations: 127.6 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2034, allocations: 63.84 kB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2035, allocations: 19.97 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.289e-05/0.2036, allocations: 35.86 kB / 0.7873 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.703e-05/0.2036, allocations: 39.88 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.2037, allocations: 8 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.2038, allocations: 91.86 kB / 0.7874 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.2039, allocations: 23.91 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.204, allocations: 31.86 kB / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.2042, allocations: 147.5 kB / 0.7876 GB, free: 308 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2042, allocations: 0 / 0.7876 GB, free: 308 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2042, allocations: 0 / 0.7876 GB, free: 308 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2042, allocations: 0 / 0.7876 GB, free: 308 kB / 0.6544 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.3486/0.5528, allocations: 413.8 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.5529, allocations: 7.906 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.93e-05/0.553, allocations: 17 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.981e-05/0.5531, allocations: 176.5 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.5531, allocations: 2.844 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.5532, allocations: 4.219 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.5534, allocations: 69.5 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.5534, allocations: 3 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.5534, allocations: 5.297 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.5534, allocations: 0 / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.5535, allocations: 42.23 kB / 0.7883 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.5542, allocations: 312.6 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.5543, allocations: 55.98 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.448e-05/0.5544, allocations: 32.09 kB / 0.7887 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.5544, allocations: 5.312 kB / 0.7887 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.5546, allocations: 76.7 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.5546, allocations: 0 / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003988/0.555, allocations: 139 kB / 0.7889 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.5551, allocations: 55.53 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.5552, allocations: 127.4 kB / 0.7891 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.5552, allocations: 30.14 kB / 0.7891 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.5552, allocations: 89.58 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.5553, allocations: 14.47 kB / 0.7892 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.5553, allocations: 31.38 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.712e-05/0.5554, allocations: 324.9 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.241e-05/0.5554, allocations: 23.33 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.97e-05/0.5555, allocations: 48.95 kB / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.5557, allocations: 78.48 kB / 0.7897 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5557, allocations: 3.219 kB / 0.7897 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002246/0.5559, allocations: 117.6 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.5559, allocations: 5.25 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.556, allocations: 0 / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.556, allocations: 2.625 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.5561, allocations: 11.44 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.5561, allocations: 0 / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.5562, allocations: 6.844 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.5562, allocations: 11.33 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.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.237e-05/0.5563, allocations: 121.1 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.5563, allocations: 7.281 kB / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.5564, allocations: 11.81 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5564, allocations: 3.094 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5564, allocations: 2.875 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5564, allocations: 2.297 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.5568, allocations: 382.8 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5568, allocations: 2.625 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.5568, allocations: 3.656 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5568, allocations: 1.625 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.5569, allocations: 7.625 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5569, allocations: 0 / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5569, allocations: 2.312 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.5571, allocations: 214.9 kB / 0.7905 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.5572, allocations: 86.27 kB / 0.7906 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.5572, allocations: 3.422 kB / 0.7906 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.5573, allocations: 2.812 kB / 0.7906 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.5573, allocations: 11.92 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.5573, allocations: 2.125 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.982e-05/0.5574, allocations: 93.69 kB / 0.7907 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5574, allocations: 4.516 kB / 0.7907 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003073/0.5577, allocations: 40.48 kB / 0.7908 GB, free: 46.77 MB / 0.6544 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.0003404/0.558, allocations: 165.4 kB / 0.7909 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.5583, allocations: 74.7 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5583, allocations: 0.8125 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.037e-05/0.5584, allocations: 31.09 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.5587, allocations: 11.81 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.5591, allocations: 209 kB / 0.7912 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.5592, allocations: 0.6856 MB / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.5593, allocations: 15.36 kB / 0.7919 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.5593, allocations: 3.719 kB / 0.7919 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.003358/0.5627, allocations: 1.617 MB / 0.7935 GB, free: 45.73 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)