Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.008598/0.008598, allocations: 100.9 kB / 15.73 MB, free: 6.496 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.001451/0.001451, allocations: 196.6 kB / 16.68 MB, free: 6.375 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.445/1.445, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.539/1.539, allocations: 251.7 MB / 0.5094 GB, free: 3.059 MB / 414.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.001448/0.001448, allocations: 63.91 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2722, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003053/0.2753, allocations: 1.641 MB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.2769, allocations: 0.842 MB / 0.8305 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.277, allocations: 4 kB / 0.8305 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.54e-05/0.2771, allocations: 11.86 kB / 0.8305 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.2772, allocations: 23.73 kB / 0.8305 GB, free: 13.67 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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.0008389/0.2781, allocations: 155.6 kB / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.2783, allocations: 151.5 kB / 0.8308 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2784, allocations: 21.09 kB / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.2786, allocations: 71.83 kB / 0.8309 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.2788, allocations: 75.72 kB / 0.8309 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.2788, allocations: 12 kB / 0.831 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.279, allocations: 103.8 kB / 0.8311 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.2791, allocations: 39.89 kB / 0.8311 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.395e-05/0.2792, allocations: 59.7 kB / 0.8312 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.2795, allocations: 199.5 kB / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2795, allocations: 3.938 kB / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2795, allocations: 3.938 kB / 0.8314 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.2795, allocations: 0 / 0.8314 GB, free: 12.79 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007731/0.2803, allocations: 0.5446 MB / 0.8319 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2804, allocations: 8.031 kB / 0.8319 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.2804, allocations: 16.83 kB / 0.8319 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.2806, allocations: 182.9 kB / 0.8321 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.2806, allocations: 4.375 kB / 0.8321 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.2806, allocations: 8.375 kB / 0.8321 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.2811, allocations: 145.9 kB / 0.8322 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2811, allocations: 0 / 0.8322 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.2811, allocations: 4 kB / 0.8322 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2811, allocations: 3.938 kB / 0.8322 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.2815, allocations: 103.8 kB / 0.8323 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009145/0.2824, allocations: 384.5 kB / 0.8327 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.2828, allocations: 102.5 kB / 0.8328 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.2831, allocations: 88.72 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.2831, allocations: 3.984 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004269/0.2836, allocations: 143.3 kB / 0.833 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.2836, allocations: 0 / 0.833 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.001069/0.2847, allocations: 305.3 kB / 0.8333 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.2847, allocations: 55.41 kB / 0.8334 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.2849, allocations: 150.5 kB / 0.8335 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.2849, allocations: 25.7 kB / 0.8335 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/0.285, allocations: 100.3 kB / 0.8336 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.2851, allocations: 27.64 kB / 0.8337 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-05/0.2852, allocations: 29.7 kB / 0.8337 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.2854, allocations: 326.8 kB / 0.834 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.2855, allocations: 39.97 kB / 0.834 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.2857, allocations: 85.06 kB / 0.8341 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.286, allocations: 125 kB / 0.8342 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.286, allocations: 0 / 0.8342 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004302/0.2864, allocations: 153.4 kB / 0.8344 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2864, allocations: 8.125 kB / 0.8344 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2865, allocations: 0 / 0.8344 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.2865, allocations: 4 kB / 0.8344 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.2866, allocations: 23.91 kB / 0.8344 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2867, allocations: 4 kB / 0.8344 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.2868, allocations: 15.98 kB / 0.8344 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.2868, allocations: 4 kB / 0.8344 GB, free: 9.34 MB / 0.6544 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 9.847e-05/0.2869, allocations: 126.1 kB / 0.8346 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.2869, allocations: 15.81 kB / 0.8346 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.287, allocations: 16.7 kB / 0.8346 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.287, allocations: 4 kB / 0.8346 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.287, allocations: 3.938 kB / 0.8346 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.287, allocations: 0 / 0.8346 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00092/0.2879, allocations: 0.5218 MB / 0.8351 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.288, allocations: 112 / 0.8351 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.087e-05/0.2881, allocations: 19.86 kB / 0.8351 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2881, allocations: 0 / 0.8351 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.2881, allocations: 8 kB / 0.8351 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2881, allocations: 7.938 kB / 0.8351 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2881, allocations: 0 / 0.8351 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/0.2888, allocations: 327.2 kB / 0.8355 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.2889, allocations: 88.92 kB / 0.8355 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.2889, allocations: 8 kB / 0.8356 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.2891, allocations: 27.89 kB / 0.8356 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.2892, allocations: 4 kB / 0.8356 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.2892, allocations: 7.984 kB / 0.8356 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.289e-05/0.2893, allocations: 112.9 kB / 0.8357 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2893, allocations: 0 / 0.8357 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003269/0.2896, allocations: 51.94 kB / 0.8357 GB, free: 7.906 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: 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.0003529/0.29, allocations: 166.5 kB / 0.8359 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005275/0.2905, allocations: 147.8 kB / 0.836 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2905, allocations: 0 / 0.836 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.2908, allocations: 83.92 kB / 0.8361 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.2911, allocations: 16.25 kB / 0.8361 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.2918, allocations: 264.2 kB / 0.8364 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.2921, allocations: 0.7002 MB / 0.8371 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.07e-05/0.2921, allocations: 8 kB / 0.8371 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.2922, allocations: 19.42 kB / 0.8371 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.2922, allocations: 0 / 0.8371 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of Templates: time 0.005279/0.2975, allocations: 2.011 MB / 0.8391 GB, free: 4.496 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)