Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, 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.001557/0.001557, allocations: 188 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.554/1.554, 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.754/1.754, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001404/0.001404, allocations: 80.47 kB / 0.6723 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3006, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003701/0.3043, allocations: 1.631 MB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.306, allocations: 0.8316 MB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.618e-05/0.3061, allocations: 4 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.3061, allocations: 7.875 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.475e-05/0.3062, allocations: 27.72 kB / 0.7866 GB, free: 10.2 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.000674/0.3069, allocations: 155.5 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.3071, allocations: 151.5 kB / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3072, allocations: 25.05 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3073, allocations: 67.88 kB / 0.7869 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.3075, allocations: 75.72 kB / 0.787 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.3075, allocations: 12 kB / 0.787 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.3078, allocations: 103.8 kB / 0.7871 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.78e-05/0.3079, allocations: 35.91 kB / 0.7872 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.646e-05/0.3079, allocations: 63.69 kB / 0.7872 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.3083, allocations: 203.4 kB / 0.7874 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3083, allocations: 3.938 kB / 0.7874 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3083, allocations: 0 / 0.7874 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.3083, allocations: 3.938 kB / 0.7874 GB, free: 9.316 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008968/0.3092, allocations: 0.5447 MB / 0.788 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.3093, allocations: 8.031 kB / 0.788 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.739e-05/0.3094, allocations: 16.75 kB / 0.788 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.3095, allocations: 179.1 kB / 0.7881 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.3095, allocations: 8.375 kB / 0.7882 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.3096, allocations: 4.375 kB / 0.7882 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.31, allocations: 157.7 kB / 0.7883 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3101, allocations: 0 / 0.7883 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.3101, allocations: 0 / 0.7883 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3101, allocations: 0 / 0.7883 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.3105, allocations: 107.8 kB / 0.7884 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008179/0.3113, allocations: 376.5 kB / 0.7888 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.3118, allocations: 106.5 kB / 0.7889 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.3121, allocations: 88.72 kB / 0.789 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.3121, allocations: 4 kB / 0.789 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004662/0.3126, allocations: 143.3 kB / 0.7891 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3126, allocations: 0 / 0.7891 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.001111/0.3137, allocations: 305.2 kB / 0.7894 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.3138, allocations: 59.41 kB / 0.7894 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.3139, allocations: 150.5 kB / 0.7896 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.314, allocations: 25.7 kB / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.3141, allocations: 96.38 kB / 0.7897 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.3141, allocations: 27.64 kB / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.3142, allocations: 29.7 kB / 0.7898 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3144, allocations: 326.8 kB / 0.7901 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.3145, allocations: 43.97 kB / 0.7901 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.3147, allocations: 81.06 kB / 0.7902 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.3149, allocations: 125.4 kB / 0.7903 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.315, allocations: 0 / 0.7903 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003714/0.3153, allocations: 157.3 kB / 0.7905 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3154, allocations: 4 kB / 0.7905 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.3154, allocations: 12.05 kB / 0.7905 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.497e-05/0.3154, allocations: 4.109 kB / 0.7905 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.3156, allocations: 27.84 kB / 0.7905 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.3156, allocations: 4 kB / 0.7905 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.3157, allocations: 12 kB / 0.7905 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.3158, allocations: 8.078 kB / 0.7905 GB, free: 5.848 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001376/0.3159, allocations: 129.7 kB / 0.7907 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.3159, allocations: 15.91 kB / 0.7907 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.316, allocations: 8.719 kB / 0.7907 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.316, allocations: 7.984 kB / 0.7907 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.316, allocations: 0 / 0.7907 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.316, allocations: 0 / 0.7907 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.3172, allocations: 0.5256 MB / 0.7912 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3172, allocations: 3.938 kB / 0.7912 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.263e-05/0.3173, allocations: 19.97 kB / 0.7912 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3173, allocations: 0 / 0.7912 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.3174, allocations: 8 kB / 0.7912 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3174, allocations: 3.938 kB / 0.7912 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3174, allocations: 0 / 0.7912 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.3184, allocations: 323.2 kB / 0.7915 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.3185, allocations: 89.02 kB / 0.7916 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.3185, allocations: 8 kB / 0.7916 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.3187, allocations: 23.91 kB / 0.7917 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.3188, allocations: 11.98 kB / 0.7917 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.3188, allocations: 3.984 kB / 0.7917 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001096/0.3189, allocations: 113.7 kB / 0.7918 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3189, allocations: 0 / 0.7918 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003486/0.3193, allocations: 47.91 kB / 0.7918 GB, free: 4.418 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0004104/0.3197, allocations: 157 kB / 0.792 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005416/0.3203, allocations: 147.8 kB / 0.7921 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3203, allocations: 3.938 kB / 0.7921 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.3206, allocations: 87.92 kB / 0.7922 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.3209, allocations: 6.688 kB / 0.7922 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007473/0.3216, allocations: 276 kB / 0.7925 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.3222, allocations: 0.7002 MB / 0.7932 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.405e-05/0.3223, allocations: 16.03 kB / 0.7932 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.3224, allocations: 15.42 kB / 0.7932 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.3224, allocations: 192 / 0.7932 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of Templates: time 0.005671/0.328, allocations: 2.009 MB / 0.7951 GB, free: 0.9766 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)