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.001116/0.001116, allocations: 106.7 kB / 16.29 MB, free: 6.43 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.001157/0.001157, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.546/1.546, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.821/1.821, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.00246/0.00246, allocations: 71.91 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2594, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.00363/0.263, allocations: 1.492 MB / 0.7855 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.2645, allocations: 0.776 MB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.2645, allocations: 0 / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.2646, allocations: 7.922 kB / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.894e-05/0.2647, allocations: 7.875 kB / 0.7863 GB, free: 1.527 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.0006353/0.2653, allocations: 123.6 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.2654, allocations: 71.77 kB / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.296e-05/0.2655, allocations: 19.98 kB / 0.7865 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.9e-05/0.2656, allocations: 31.86 kB / 0.7865 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.06e-05/0.2657, allocations: 47.81 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.2657, allocations: 8 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.2659, allocations: 91.84 kB / 0.7867 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.808e-05/0.266, allocations: 15.98 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.266, allocations: 31.86 kB / 0.7867 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.2663, allocations: 147.8 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2663, allocations: 0 / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2663, allocations: 0 / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2663, allocations: 0 / 0.7869 GB, free: 0.9492 MB / 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.0005693/0.2669, allocations: 417 kB / 0.7873 GB, free: 500 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.267, allocations: 8.031 kB / 0.7873 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.267, allocations: 12.83 kB / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.2671, allocations: 172.2 kB / 0.7874 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.2671, allocations: 8.375 kB / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.2671, allocations: 8.312 kB / 0.7875 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.2673, allocations: 69.97 kB / 0.7875 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.2673, allocations: 4 kB / 0.7875 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2673, allocations: 4 kB / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.2673, allocations: 0 / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.2675, allocations: 43.91 kB / 0.7876 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5158/0.7833, allocations: 306.4 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.7835, allocations: 45.83 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.416e-05/0.7836, allocations: 32.64 kB / 0.7879 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.7836, allocations: 7.328 kB / 0.788 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.7839, allocations: 82.12 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.545e-06/0.7839, allocations: 0 / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004066/0.7843, allocations: 141.4 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.7843, allocations: 54.16 kB / 0.7882 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.7845, allocations: 128 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.7845, allocations: 28.45 kB / 0.7884 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.7845, allocations: 92.48 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.7846, allocations: 17.84 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.7846, allocations: 25.69 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.874e-05/0.7847, allocations: 321.2 kB / 0.7888 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-05/0.7848, allocations: 27.66 kB / 0.7888 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/0.7849, allocations: 46.48 kB / 0.7889 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.785, allocations: 75.61 kB / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.785, allocations: 0 / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002073/0.7852, allocations: 117.2 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.7853, allocations: 3 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7853, allocations: 9.625 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.7853, allocations: 2.281 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.7854, allocations: 17.89 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.7854, allocations: 2.625 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.7855, allocations: 9.75 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.7855, allocations: 2.625 kB / 0.7891 GB, free: 47.82 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 9.354e-05/0.7856, allocations: 117.2 kB / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.7857, allocations: 16.28 kB / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.7857, allocations: 9.938 kB / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.7857, allocations: 2.625 kB / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7857, allocations: 0 / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7857, allocations: 0.5625 kB / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.7861, allocations: 380 kB / 0.7896 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7861, allocations: 0 / 0.7896 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.7862, allocations: 3.797 kB / 0.7896 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.7862, allocations: 2.625 kB / 0.7896 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.7862, allocations: 3 kB / 0.7896 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.7862, allocations: 2.875 kB / 0.7896 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7862, allocations: 0 / 0.7896 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.7865, allocations: 215.7 kB / 0.7898 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.7865, allocations: 86.03 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.7865, allocations: 8.781 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.7866, allocations: 2.625 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.7867, allocations: 7.781 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.7867, allocations: 5.859 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.7868, allocations: 93.11 kB / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7868, allocations: 0.5312 kB / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003258/0.7871, allocations: 36 kB / 0.7901 GB, free: 47.09 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.0003865/0.7875, allocations: 177.3 kB / 0.7902 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002607/0.7878, allocations: 74.84 kB / 0.7903 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7878, allocations: 2.906 kB / 0.7903 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.436e-05/0.7879, allocations: 33.62 kB / 0.7903 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.7882, allocations: 8.047 kB / 0.7903 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.7886, allocations: 176.4 kB / 0.7905 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.7888, allocations: 0.6895 MB / 0.7912 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.488e-05/0.7888, allocations: 5.375 kB / 0.7912 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.7889, allocations: 14.19 kB / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.7889, allocations: 0 / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.004681/0.7936, allocations: 1.455 MB / 0.7926 GB, free: 46.13 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)