Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 105.2 kB / 16.35 MB, free: 5.879 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.001145/0.001145, allocations: 194.3 kB / 17.29 MB, free: 5.516 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.399/1.399, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.784/1.784, allocations: 292.3 MB / 0.5496 GB, free: 17.68 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.001379/0.00138, allocations: 67.89 kB / 0.6729 GB, free: 5.781 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2287, allocations: 114.6 MB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002804/0.2316, allocations: 1.496 MB / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.233, allocations: 0.776 MB / 0.787 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.233, allocations: 4 kB / 0.787 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.2331, allocations: 3.938 kB / 0.787 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.182e-05/0.2332, allocations: 7.875 kB / 0.787 GB, free: 0.8008 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.0005738/0.2337, allocations: 123.6 kB / 0.7871 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.2339, allocations: 79.75 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.234, allocations: 8 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.581e-05/0.2341, allocations: 39.84 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.364e-05/0.2342, allocations: 43.83 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.2342, allocations: 8 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.2344, allocations: 91.84 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.2344, allocations: 15.98 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.534e-05/0.2345, allocations: 31.86 kB / 0.7874 GB, free: 376 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.2347, allocations: 143.5 kB / 0.7876 GB, free: 232 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2348, allocations: 0 / 0.7876 GB, free: 232 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2348, allocations: 0 / 0.7876 GB, free: 232 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.2348, allocations: 0 / 0.7876 GB, free: 232 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.4286/0.6634, allocations: 422.1 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.6634, allocations: 9.125 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.355e-05/0.6635, allocations: 9.297 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.6636, allocations: 172.7 kB / 0.7881 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.6636, allocations: 7.219 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.6637, allocations: 7.031 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.6639, allocations: 66.08 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.6639, allocations: 0 / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.6639, allocations: 11.25 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6639, allocations: 0 / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.6641, allocations: 37.36 kB / 0.7883 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006229/0.6647, allocations: 311.6 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.6648, allocations: 56.75 kB / 0.7886 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.011e-05/0.6649, allocations: 28.39 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.6649, allocations: 6.234 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.6652, allocations: 81.78 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.6652, allocations: 0 / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003692/0.6655, allocations: 136.8 kB / 0.7889 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.6656, allocations: 54.59 kB / 0.7889 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.074e-05/0.6657, allocations: 131.5 kB / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.6657, allocations: 28.61 kB / 0.7891 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.6657, allocations: 90.73 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.6658, allocations: 13.7 kB / 0.7892 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.6658, allocations: 30.92 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.49e-05/0.6659, allocations: 322 kB / 0.7895 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.984e-05/0.6659, allocations: 27.77 kB / 0.7895 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.052e-05/0.666, allocations: 47.98 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.6662, allocations: 78.14 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6662, allocations: 3.375 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001948/0.6664, allocations: 106.9 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.6664, allocations: 5.5 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.6664, allocations: 5.266 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.6664, allocations: 5.094 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.6666, allocations: 14.06 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.6666, allocations: 3.281 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.6666, allocations: 9.859 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.6667, allocations: 2.531 kB / 0.7898 GB, free: 47.46 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.669e-05/0.6667, allocations: 124.8 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.6668, allocations: 9.875 kB / 0.7899 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.6668, allocations: 8.188 kB / 0.7899 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.6668, allocations: 3.031 kB / 0.7899 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6668, allocations: 1.312 kB / 0.7899 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6668, allocations: 0.7812 kB / 0.7899 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.6672, allocations: 382.8 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.6672, allocations: 2.719 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.6672, allocations: 8.234 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.6673, allocations: 5.609 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.6673, allocations: 6.812 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.6673, allocations: 0 / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6673, allocations: 0 / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.6675, allocations: 216.3 kB / 0.7905 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.6676, allocations: 84.2 kB / 0.7906 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.6676, allocations: 1.531 kB / 0.7906 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.6677, allocations: 5.906 kB / 0.7906 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.6677, allocations: 9.25 kB / 0.7906 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.6678, allocations: 5.953 kB / 0.7906 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.97e-05/0.6678, allocations: 97.22 kB / 0.7907 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6678, allocations: 0 / 0.7907 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003297/0.6682, allocations: 35.77 kB / 0.7908 GB, free: 46.73 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.0003636/0.6685, allocations: 159.3 kB / 0.7909 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.6688, allocations: 77.12 kB / 0.791 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6688, allocations: 0 / 0.791 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.465e-05/0.6689, allocations: 37.95 kB / 0.791 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.6691, allocations: 5.594 kB / 0.791 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.6695, allocations: 185.1 kB / 0.7912 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.6696, allocations: 0.6886 MB / 0.7919 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.6697, allocations: 9.875 kB / 0.7919 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.6697, allocations: 9.625 kB / 0.7919 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.6697, allocations: 3.75 kB / 0.7919 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.003906/0.6736, allocations: 1.453 MB / 0.7933 GB, free: 45.76 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)