Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, 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.001963/0.001963, allocations: 196.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.627/1.627, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.746/1.746, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001478/0.001478, allocations: 72.3 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2821, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003119/0.2853, allocations: 1.484 MB / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.2867, allocations: 0.777 MB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.2868, allocations: 0 / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.2868, allocations: 3.938 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.226e-05/0.2868, allocations: 11.86 kB / 0.7856 GB, free: 11.19 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.0006151/0.2875, allocations: 131.6 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2876, allocations: 71.78 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2877, allocations: 11.98 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.905e-05/0.2878, allocations: 39.84 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.2879, allocations: 35.89 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.2879, allocations: 8 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.2881, allocations: 95.84 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.2881, allocations: 15.92 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.2882, allocations: 35.86 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.2884, allocations: 143.9 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2884, allocations: 0 / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2885, allocations: 0 / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2885, allocations: 0 / 0.7861 GB, free: 10.61 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.0006735/0.2891, allocations: 413 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2892, allocations: 8.031 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.2892, allocations: 8.844 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.2894, allocations: 184.1 kB / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.2894, allocations: 20.36 kB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.2895, allocations: 384 / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.2897, allocations: 73.91 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2897, allocations: 0 / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.2897, allocations: 4 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.2897, allocations: 4 kB / 0.7868 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.2898, allocations: 35.97 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006077/0.2905, allocations: 312.8 kB / 0.7872 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.2906, allocations: 54.48 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.2907, allocations: 28.97 kB / 0.7872 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.2907, allocations: 0 / 0.7872 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.2909, allocations: 91.34 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.291, allocations: 0 / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000405/0.2914, allocations: 145.5 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.2914, allocations: 51.41 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.2915, allocations: 121.8 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.2916, allocations: 29.7 kB / 0.7877 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.2916, allocations: 96.12 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.2917, allocations: 19.75 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.2917, allocations: 25.7 kB / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2918, allocations: 322.8 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/0.2919, allocations: 27.98 kB / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.292, allocations: 42.56 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.2922, allocations: 82.42 kB / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2922, allocations: 0 / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002332/0.2924, allocations: 117.5 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2924, allocations: 4 kB / 0.7884 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.2925, allocations: 8.062 kB / 0.7884 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.2925, allocations: 0 / 0.7884 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.2926, allocations: 11.98 kB / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2926, allocations: 0 / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.2927, allocations: 4 kB / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.2927, allocations: 4 kB / 0.7884 GB, free: 8.062 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.0001875/0.2929, allocations: 130.4 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.2929, allocations: 7.906 kB / 0.7885 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.2929, allocations: 12.38 kB / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2929, allocations: 0 / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.293, allocations: 0 / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.293, allocations: 0 / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.2934, allocations: 382.8 kB / 0.7889 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2934, allocations: 3.938 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.2935, allocations: 7.984 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2935, allocations: 0 / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.2935, allocations: 4 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2935, allocations: 4 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2935, allocations: 4.016 kB / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.2938, allocations: 207.4 kB / 0.7891 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.2938, allocations: 93 kB / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.2939, allocations: 0 / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.294, allocations: 4 kB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.294, allocations: 11.92 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.294, allocations: 8 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.312e-05/0.2941, allocations: 91.27 kB / 0.7893 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2941, allocations: 0 / 0.7893 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002938/0.2944, allocations: 36 kB / 0.7894 GB, free: 6.977 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.0003633/0.2948, allocations: 180.5 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.295, allocations: 71.91 kB / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.295, allocations: 0 / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.931e-05/0.2952, allocations: 31.98 kB / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.2954, allocations: 14.95 kB / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.2958, allocations: 184.4 kB / 0.7898 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.2962, allocations: 0.6923 MB / 0.7905 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.624e-05/0.2962, allocations: 4 kB / 0.7905 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.2962, allocations: 11.42 kB / 0.7905 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2962, allocations: 4 kB / 0.7905 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of Templates: time 0.004431/0.3007, allocations: 1.439 MB / 0.7919 GB, free: 4.316 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)