Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 105.4 kB / 15.7 MB, free: 24 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.001618/0.001618, allocations: 195.1 kB / 16.64 MB, free: 6.59 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.573/1.573, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.817/1.817, 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.001489/0.001489, allocations: 68.05 kB / 0.6723 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2987, allocations: 114.6 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003335/0.3021, allocations: 1.492 MB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.3036, allocations: 0.7692 MB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.3036, allocations: 0 / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.3037, allocations: 7.938 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-05/0.3037, allocations: 11.86 kB / 0.7864 GB, free: 10.47 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.0007232/0.3045, allocations: 123.6 kB / 0.7865 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.3046, allocations: 79.7 kB / 0.7866 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.3047, allocations: 12 kB / 0.7866 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.294e-05/0.3048, allocations: 39.83 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.394e-05/0.3049, allocations: 31.91 kB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.3049, allocations: 12 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.3051, allocations: 95.84 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.3052, allocations: 19.92 kB / 0.7868 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.3052, allocations: 31.84 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.3055, allocations: 143.6 kB / 0.7869 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3055, allocations: 0 / 0.7869 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.335e-06/0.3055, allocations: 0 / 0.7869 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3055, allocations: 0 / 0.7869 GB, free: 9.895 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.000982/0.3065, allocations: 424.9 kB / 0.7873 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3066, allocations: 8.031 kB / 0.7873 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.3066, allocations: 8.844 kB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.3068, allocations: 180.2 kB / 0.7875 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.3068, allocations: 384 / 0.7875 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.3068, allocations: 4.375 kB / 0.7875 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.307, allocations: 77.95 kB / 0.7876 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.307, allocations: 0 / 0.7876 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3071, allocations: 0 / 0.7876 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3071, allocations: 0 / 0.7876 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.3072, allocations: 43.97 kB / 0.7876 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/0.3079, allocations: 316.7 kB / 0.7879 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.308, allocations: 42.56 kB / 0.788 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.222e-05/0.3081, allocations: 40.97 kB / 0.788 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.3081, allocations: 0 / 0.788 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.3084, allocations: 83.28 kB / 0.7881 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3084, allocations: 0 / 0.7881 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000445/0.3088, allocations: 137.6 kB / 0.7882 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.3089, allocations: 55.41 kB / 0.7883 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.309, allocations: 129.8 kB / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.3091, allocations: 25.7 kB / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/0.3092, allocations: 92.12 kB / 0.7885 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.3092, allocations: 15.75 kB / 0.7885 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.3093, allocations: 29.7 kB / 0.7886 GB, free: 8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002302/0.3095, allocations: 326.8 kB / 0.7889 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.3096, allocations: 23.98 kB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.3099, allocations: 54.5 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.3101, allocations: 74.48 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3101, allocations: 0 / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002501/0.3103, allocations: 121.5 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.3104, allocations: 4 kB / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3104, allocations: 3.984 kB / 0.7891 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.3104, allocations: 4 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3105, allocations: 15.92 kB / 0.7892 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3105, allocations: 0 / 0.7892 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.444e-05/0.3106, allocations: 8 kB / 0.7892 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.3106, allocations: 4 kB / 0.7892 GB, free: 7.34 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.0001368/0.3108, allocations: 126.5 kB / 0.7893 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.3108, allocations: 7.906 kB / 0.7893 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.3108, allocations: 8.375 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3108, allocations: 4 kB / 0.7893 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.3109, allocations: 0 / 0.7893 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3109, allocations: 0 / 0.7893 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.3114, allocations: 382.3 kB / 0.7897 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3114, allocations: 0 / 0.7897 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.3114, allocations: 7.984 kB / 0.7897 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3114, allocations: 4 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3115, allocations: 0 / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3115, allocations: 0 / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3115, allocations: 7.938 kB / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.3118, allocations: 215.8 kB / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.3119, allocations: 85.02 kB / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.312, allocations: 0 / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.312, allocations: 8 kB / 0.79 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.3121, allocations: 11.92 kB / 0.79 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.3121, allocations: 7.938 kB / 0.79 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.246e-05/0.3122, allocations: 91.27 kB / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3122, allocations: 0 / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002987/0.3125, allocations: 39.98 kB / 0.7901 GB, free: 6.254 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.0005285/0.313, allocations: 166.5 kB / 0.7903 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.3133, allocations: 71.91 kB / 0.7904 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3133, allocations: 0 / 0.7904 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.3135, allocations: 31.98 kB / 0.7904 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.3139, allocations: 14.42 kB / 0.7904 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005355/0.3144, allocations: 188.4 kB / 0.7906 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.3148, allocations: 0.6885 MB / 0.7913 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.931e-05/0.3148, allocations: 3.984 kB / 0.7913 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.3149, allocations: 15.42 kB / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3149, allocations: 0 / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of Templates: time 0.004877/0.3198, allocations: 1.456 MB / 0.7927 GB, free: 3.598 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)