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.001247/0.001247, allocations: 109.4 kB / 15.69 MB, free: 128 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.001297/0.001297, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.527/1.527, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.75/1.75, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001641/0.001641, allocations: 69.91 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.277, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.00386/0.281, allocations: 1.496 MB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.2826, allocations: 0.7692 MB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/0.2827, allocations: 7.938 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.965e-05/0.2828, allocations: 3.938 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.018e-05/0.2829, allocations: 11.86 kB / 0.7864 GB, free: 10.46 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.0007383/0.2836, allocations: 127.5 kB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.2838, allocations: 71.83 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.284, allocations: 16 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.2841, allocations: 39.83 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.511e-05/0.2842, allocations: 31.91 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.2842, allocations: 8 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.2845, allocations: 95.84 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.2845, allocations: 19.92 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.2846, allocations: 31.84 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.2849, allocations: 139.6 kB / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2849, allocations: 7.938 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2849, allocations: 4 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.2849, allocations: 0 / 0.7869 GB, free: 9.875 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.0007341/0.2857, allocations: 413 kB / 0.7873 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2857, allocations: 15.97 kB / 0.7873 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/0.2858, allocations: 8.844 kB / 0.7873 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.2859, allocations: 172.2 kB / 0.7875 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.2859, allocations: 384 / 0.7875 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.286, allocations: 12.36 kB / 0.7875 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.2862, allocations: 73.97 kB / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2862, allocations: 0 / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2862, allocations: 0 / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.2862, allocations: 0 / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.2864, allocations: 39.91 kB / 0.7876 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007282/0.2871, allocations: 320.8 kB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.2873, allocations: 42.56 kB / 0.788 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.861e-05/0.2874, allocations: 36.97 kB / 0.788 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.2874, allocations: 0 / 0.788 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/0.2877, allocations: 87.22 kB / 0.7881 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.2877, allocations: 4 kB / 0.7881 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004644/0.2882, allocations: 129.6 kB / 0.7882 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.2883, allocations: 63.47 kB / 0.7883 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.2884, allocations: 117.8 kB / 0.7884 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.2884, allocations: 29.7 kB / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.2885, allocations: 92.06 kB / 0.7885 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.2886, allocations: 19.75 kB / 0.7885 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/0.2887, allocations: 33.7 kB / 0.7886 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2888, allocations: 322.8 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.744e-05/0.2889, allocations: 23.97 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.995e-05/0.289, allocations: 54.44 kB / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.2892, allocations: 74.55 kB / 0.789 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2892, allocations: 0 / 0.789 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002545/0.2895, allocations: 117.5 kB / 0.7891 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.2895, allocations: 4 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2895, allocations: 0 / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.2896, allocations: 4 kB / 0.7891 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.2897, allocations: 15.92 kB / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2897, allocations: 4.453 kB / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.2898, allocations: 8 kB / 0.7892 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.2898, allocations: 7.984 kB / 0.7892 GB, free: 7.328 MB / 0.6075 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 0.0001185/0.2899, allocations: 117.8 kB / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.29, allocations: 11.89 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.29, allocations: 8.375 kB / 0.7893 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.29, allocations: 0 / 0.7893 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.29, allocations: 4 kB / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.29, allocations: 4 kB / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.2906, allocations: 386.3 kB / 0.7897 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2906, allocations: 0 / 0.7897 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-05/0.2906, allocations: 4 kB / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2906, allocations: 0 / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.2906, allocations: 7.984 kB / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2907, allocations: 0 / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.2907, allocations: 3.938 kB / 0.7897 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.291, allocations: 211.4 kB / 0.7899 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.291, allocations: 85 kB / 0.79 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.2911, allocations: 4 kB / 0.79 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.2912, allocations: 4 kB / 0.79 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.2912, allocations: 11.92 kB / 0.79 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.2912, allocations: 4 kB / 0.79 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001449/0.2914, allocations: 99.86 kB / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2914, allocations: 0 / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003351/0.2917, allocations: 36 kB / 0.7901 GB, free: 6.246 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 (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.0004656/0.2922, allocations: 162.9 kB / 0.7903 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002615/0.2925, allocations: 79.94 kB / 0.7904 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2925, allocations: 0 / 0.7904 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.2926, allocations: 31.98 kB / 0.7904 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.2929, allocations: 15.92 kB / 0.7904 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.2934, allocations: 183.4 kB / 0.7906 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.2937, allocations: 0.6846 MB / 0.7912 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.087e-05/0.2937, allocations: 8.062 kB / 0.7912 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.2938, allocations: 19.42 kB / 0.7913 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2938, allocations: 0 / 0.7913 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of Templates: time 0.004936/0.2987, allocations: 1.457 MB / 0.7927 GB, free: 3.586 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)