Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 106.6 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.001128/0.001128, allocations: 184 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.538/1.538, 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.862/1.862, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001484/0.001484, allocations: 71.89 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2772, allocations: 114.6 MB / 0.7841 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002778/0.28, allocations: 1.496 MB / 0.7855 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.2813, allocations: 0.7721 MB / 0.7863 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.2814, allocations: 0 / 0.7863 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.2814, allocations: 7.875 kB / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.455e-05/0.2815, allocations: 11.92 kB / 0.7863 GB, free: 1.512 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.0005709/0.2821, allocations: 119.6 kB / 0.7864 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2822, allocations: 79.77 kB / 0.7865 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.157e-05/0.2823, allocations: 4 kB / 0.7865 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.711e-05/0.2824, allocations: 47.83 kB / 0.7865 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.2825, allocations: 35.91 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.2825, allocations: 4 kB / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.2827, allocations: 99.84 kB / 0.7867 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.2827, allocations: 19.91 kB / 0.7867 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.2828, allocations: 35.8 kB / 0.7867 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.283, allocations: 139.9 kB / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.283, allocations: 0 / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.153e-06/0.283, allocations: 0 / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2831, allocations: 0 / 0.7869 GB, free: 0.9375 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.0005989/0.2837, allocations: 417 kB / 0.7873 GB, free: 488 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2837, allocations: 12.03 kB / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.2838, allocations: 8.781 kB / 0.7873 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.2839, allocations: 180.2 kB / 0.7875 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.2839, allocations: 4.375 kB / 0.7875 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.2839, allocations: 8.359 kB / 0.7875 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.2841, allocations: 73.97 kB / 0.7875 GB, free: 156 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2841, allocations: 4 kB / 0.7875 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2842, allocations: 0 / 0.7875 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.2842, allocations: 0 / 0.7875 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.2843, allocations: 39.95 kB / 0.7876 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4248/0.7091, allocations: 308.7 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.7092, allocations: 48.78 kB / 0.7879 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.482e-05/0.7093, allocations: 31.73 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.7094, allocations: 6.688 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.7096, allocations: 78.38 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.535e-06/0.7096, allocations: 0 / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003554/0.71, allocations: 145.4 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.71, allocations: 51.41 kB / 0.7882 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.677e-05/0.7101, allocations: 126.9 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.7101, allocations: 27.58 kB / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.7102, allocations: 91.92 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.7102, allocations: 19.48 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.7102, allocations: 25.73 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.7103, allocations: 320.2 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.904e-05/0.7104, allocations: 27.14 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-05/0.7104, allocations: 53.7 kB / 0.7889 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.7106, allocations: 74.59 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.7106, allocations: 0 / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001933/0.7108, allocations: 114.8 kB / 0.7891 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.7108, allocations: 9.531 kB / 0.7891 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.7108, allocations: 0 / 0.7891 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.7108, allocations: 4.594 kB / 0.7891 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.255e-05/0.7109, allocations: 12.11 kB / 0.7891 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.7109, allocations: 0 / 0.7891 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.178e-05/0.711, allocations: 11.41 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.711, allocations: 6.094 kB / 0.7891 GB, free: 47.8 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 6.316e-05/0.7111, allocations: 123.2 kB / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.7111, allocations: 10.47 kB / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.7112, allocations: 12.12 kB / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.7112, allocations: 1.172 kB / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.7112, allocations: 0 / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7112, allocations: 6.688 kB / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.7115, allocations: 383 kB / 0.7896 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.7115, allocations: 0.5625 kB / 0.7896 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.7116, allocations: 5.766 kB / 0.7896 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7116, allocations: 0 / 0.7896 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.7116, allocations: 2.625 kB / 0.7896 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.7116, allocations: 4.656 kB / 0.7896 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7116, allocations: 0 / 0.7896 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.7118, allocations: 217 kB / 0.7898 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.7119, allocations: 83.64 kB / 0.7899 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.7119, allocations: 0 / 0.7899 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.712, allocations: 6.125 kB / 0.7899 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.712, allocations: 9.984 kB / 0.7899 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.712, allocations: 4.547 kB / 0.7899 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.697e-05/0.7121, allocations: 95.86 kB / 0.79 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7121, allocations: 0 / 0.79 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003124/0.7124, allocations: 39.17 kB / 0.7901 GB, free: 47.08 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.0002914/0.7127, allocations: 163.5 kB / 0.7902 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.7129, allocations: 77.45 kB / 0.7903 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7129, allocations: 1.656 kB / 0.7903 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.137e-05/0.713, allocations: 33.59 kB / 0.7903 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.7133, allocations: 13.77 kB / 0.7903 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.7136, allocations: 177 kB / 0.7905 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.7138, allocations: 0.6878 MB / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.223e-05/0.7138, allocations: 7.469 kB / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.7138, allocations: 13.92 kB / 0.7912 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.7138, allocations: 0 / 0.7912 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.003714/0.7176, allocations: 1.454 MB / 0.7926 GB, free: 46.12 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)