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.009093/0.009093, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001937/0.001937, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.591/1.591, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.573/1.573, allocations: 251.7 MB / 0.5094 GB, free: 3.113 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.001309/0.001309, allocations: 75.88 kB / 0.7258 GB, free: 9.059 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2393, allocations: 104.7 MB / 0.828 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.00327/0.2426, allocations: 1.641 MB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.2443, allocations: 0.8382 MB / 0.8305 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.2444, allocations: 3.938 kB / 0.8305 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.166e-05/0.2444, allocations: 7.922 kB / 0.8305 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.648e-05/0.2445, allocations: 23.73 kB / 0.8305 GB, free: 13.7 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.0006823/0.2452, allocations: 159.5 kB / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.2454, allocations: 151.5 kB / 0.8308 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.2456, allocations: 21.09 kB / 0.8308 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.2457, allocations: 63.83 kB / 0.8309 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.2458, allocations: 83.66 kB / 0.8309 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.2458, allocations: 16 kB / 0.831 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.246, allocations: 103.9 kB / 0.8311 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.626e-05/0.2461, allocations: 39.88 kB / 0.8311 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.375e-05/0.2462, allocations: 55.72 kB / 0.8311 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.2465, allocations: 203.4 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2465, allocations: 0 / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2465, allocations: 3.938 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.2465, allocations: 4 kB / 0.8313 GB, free: 12.82 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.0009383/0.2475, allocations: 0.5446 MB / 0.8319 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.2475, allocations: 12.03 kB / 0.8319 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.2476, allocations: 8.844 kB / 0.8319 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.2478, allocations: 184.1 kB / 0.8321 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.2478, allocations: 384 / 0.8321 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.2479, allocations: 12.38 kB / 0.8321 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005065/0.2484, allocations: 149.8 kB / 0.8322 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2484, allocations: 0 / 0.8322 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.2484, allocations: 4 kB / 0.8322 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.2485, allocations: 4 kB / 0.8322 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.2489, allocations: 99.89 kB / 0.8323 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008683/0.2498, allocations: 384.5 kB / 0.8327 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.2502, allocations: 106.4 kB / 0.8328 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.2505, allocations: 80.78 kB / 0.8329 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.2505, allocations: 4 kB / 0.8329 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000481/0.251, allocations: 139.3 kB / 0.833 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.793e-06/0.251, allocations: 0 / 0.833 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.00114/0.2522, allocations: 313.2 kB / 0.8333 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.2522, allocations: 51.41 kB / 0.8334 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.2524, allocations: 148.3 kB / 0.8335 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.2524, allocations: 29.64 kB / 0.8335 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.2525, allocations: 112.3 kB / 0.8336 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.2527, allocations: 19.81 kB / 0.8337 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/0.2527, allocations: 33.7 kB / 0.8337 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.2529, allocations: 322.8 kB / 0.834 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.253, allocations: 39.97 kB / 0.834 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.2532, allocations: 85.11 kB / 0.8341 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.2535, allocations: 121 kB / 0.8342 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2535, allocations: 0 / 0.8342 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003483/0.2539, allocations: 153.4 kB / 0.8344 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2539, allocations: 4 kB / 0.8344 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2539, allocations: 4 kB / 0.8344 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.2539, allocations: 8.109 kB / 0.8344 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.2541, allocations: 23.92 kB / 0.8344 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.2541, allocations: 0 / 0.8344 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.2542, allocations: 15.98 kB / 0.8344 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.2542, allocations: 4 kB / 0.8344 GB, free: 9.367 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 0.000132/0.2544, allocations: 132.4 kB / 0.8346 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.2544, allocations: 11.81 kB / 0.8346 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.2545, allocations: 24.7 kB / 0.8346 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2545, allocations: 0 / 0.8346 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2545, allocations: 0 / 0.8346 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2545, allocations: 0 / 0.8346 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.2556, allocations: 0.5218 MB / 0.8351 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2556, allocations: 3.984 kB / 0.8351 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.2557, allocations: 12.09 kB / 0.8351 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.2557, allocations: 8.406 kB / 0.8351 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.2557, allocations: 8 kB / 0.8351 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.2557, allocations: 7.922 kB / 0.8351 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2557, allocations: 0 / 0.8351 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007945/0.2565, allocations: 327.2 kB / 0.8355 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.2566, allocations: 88.92 kB / 0.8355 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.2566, allocations: 11.98 kB / 0.8356 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.2568, allocations: 23.91 kB / 0.8356 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.2569, allocations: 7.984 kB / 0.8356 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.2569, allocations: 4 kB / 0.8356 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.249e-05/0.257, allocations: 114.3 kB / 0.8357 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.257, allocations: 0 / 0.8357 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003614/0.2574, allocations: 47.94 kB / 0.8357 GB, free: 7.934 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.001841/0.2593, allocations: 157.3 kB / 0.8359 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007104/0.26, allocations: 148 kB / 0.836 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.26, allocations: 0 / 0.836 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003521/0.2604, allocations: 91.86 kB / 0.8361 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.2607, allocations: 11.94 kB / 0.8361 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008652/0.2616, allocations: 264.4 kB / 0.8364 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.262, allocations: 0.7002 MB / 0.8371 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.963e-05/0.262, allocations: 11.98 kB / 0.8371 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.2621, allocations: 15.44 kB / 0.8371 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/0.2621, allocations: 0 / 0.8371 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.005423/0.2675, allocations: 2.015 MB / 0.8391 GB, free: 4.527 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)