Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001387, allocations: 108 kB / 15.61 MB, free: 152 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.00157/0.00157, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.556/1.556, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.647/1.647, allocations: 251.7 MB / 0.5092 GB, free: 3.074 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.001801/0.001801, allocations: 67.89 kB / 0.6223 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5601/0.5619, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003116/0.5651, allocations: 1.493 MB / 0.726 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.5665, allocations: 0.7795 MB / 0.7267 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.5666, allocations: 0 / 0.7267 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.5666, allocations: 3.938 kB / 0.7267 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.194e-05/0.5667, allocations: 11.86 kB / 0.7268 GB, free: 10.62 MB / 0.545 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.0006506/0.5674, allocations: 131.6 kB / 0.7269 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.5675, allocations: 67.78 kB / 0.7269 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.5676, allocations: 19.98 kB / 0.727 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.021e-05/0.5677, allocations: 35.84 kB / 0.727 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.5678, allocations: 35.84 kB / 0.727 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.5678, allocations: 8 kB / 0.727 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.568, allocations: 91.91 kB / 0.7271 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.155e-05/0.5681, allocations: 27.89 kB / 0.7272 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.5682, allocations: 31.8 kB / 0.7272 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.5684, allocations: 137.6 kB / 0.7273 GB, free: 10.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5684, allocations: 0 / 0.7273 GB, free: 10.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5684, allocations: 0 / 0.7273 GB, free: 10.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.5684, allocations: 4 kB / 0.7273 GB, free: 10.04 MB / 0.545 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.0006911/0.5691, allocations: 424.8 kB / 0.7277 GB, free: 9.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.5692, allocations: 11.97 kB / 0.7277 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.5692, allocations: 8.844 kB / 0.7277 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.5694, allocations: 172.3 kB / 0.7279 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.5694, allocations: 384 / 0.7279 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.5695, allocations: 8.375 kB / 0.7279 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.5696, allocations: 81.89 kB / 0.728 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.5697, allocations: 0 / 0.728 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.5697, allocations: 3.984 kB / 0.728 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5697, allocations: 0 / 0.728 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.5698, allocations: 35.97 kB / 0.728 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.5705, allocations: 324.7 kB / 0.7283 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.5706, allocations: 46.55 kB / 0.7284 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.297e-05/0.5707, allocations: 36.91 kB / 0.7284 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.5707, allocations: 0 / 0.7284 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.5709, allocations: 79.38 kB / 0.7285 GB, free: 8.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.986e-06/0.571, allocations: 4 kB / 0.7285 GB, free: 8.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004/0.5714, allocations: 145.5 kB / 0.7286 GB, free: 8.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.5714, allocations: 51.41 kB / 0.7287 GB, free: 8.445 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.5715, allocations: 125.8 kB / 0.7288 GB, free: 8.312 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.5715, allocations: 25.7 kB / 0.7288 GB, free: 8.281 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.5716, allocations: 92.14 kB / 0.7289 GB, free: 8.188 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.5716, allocations: 7.812 kB / 0.7289 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.5717, allocations: 33.7 kB / 0.729 GB, free: 8.141 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5718, allocations: 326.8 kB / 0.7293 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.5719, allocations: 23.98 kB / 0.7293 GB, free: 7.789 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.946e-05/0.572, allocations: 50.98 kB / 0.7293 GB, free: 7.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.5722, allocations: 74.81 kB / 0.7294 GB, free: 7.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5722, allocations: 0 / 0.7294 GB, free: 7.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002218/0.5724, allocations: 117.5 kB / 0.7295 GB, free: 7.527 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5724, allocations: 4 kB / 0.7295 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.5724, allocations: 0 / 0.7295 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.5725, allocations: 4 kB / 0.7295 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.545e-05/0.5726, allocations: 11.98 kB / 0.7295 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5726, allocations: 0 / 0.7295 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.709e-05/0.5727, allocations: 19.91 kB / 0.7296 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.5727, allocations: 7.984 kB / 0.7296 GB, free: 7.48 MB / 0.545 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 8.823e-05/0.5728, allocations: 121.7 kB / 0.7297 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.5728, allocations: 4 kB / 0.7297 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.5728, allocations: 8.375 kB / 0.7297 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.5728, allocations: 4 kB / 0.7297 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5728, allocations: 0 / 0.7297 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.5729, allocations: 3.938 kB / 0.7297 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.5733, allocations: 386.3 kB / 0.7301 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5733, allocations: 0 / 0.7301 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/0.5734, allocations: 7.984 kB / 0.7301 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.5734, allocations: 0 / 0.7301 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.5734, allocations: 3.938 kB / 0.7301 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5734, allocations: 0 / 0.7301 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5734, allocations: 7.938 kB / 0.7301 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.5737, allocations: 207.5 kB / 0.7303 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.5737, allocations: 85.02 kB / 0.7304 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.5738, allocations: 4 kB / 0.7304 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.5739, allocations: 7.984 kB / 0.7304 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.5739, allocations: 7.938 kB / 0.7304 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.5739, allocations: 4 kB / 0.7304 GB, free: 6.535 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.068e-05/0.574, allocations: 95.42 kB / 0.7305 GB, free: 6.441 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.574, allocations: 4 kB / 0.7305 GB, free: 6.438 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003019/0.5743, allocations: 43.92 kB / 0.7305 GB, free: 6.395 MB / 0.545 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.0003413/0.5746, allocations: 158 kB / 0.7307 GB, free: 6.246 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.5749, allocations: 72.02 kB / 0.7308 GB, free: 6.176 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5749, allocations: 8 kB / 0.7308 GB, free: 6.168 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.575, allocations: 35.92 kB / 0.7308 GB, free: 6.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.5753, allocations: 4.875 kB / 0.7308 GB, free: 6.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.5757, allocations: 192.2 kB / 0.731 GB, free: 5.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.576, allocations: 0.6807 MB / 0.7316 GB, free: 5.203 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.682e-05/0.576, allocations: 7.984 kB / 0.7317 GB, free: 5.195 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.576, allocations: 15.38 kB / 0.7317 GB, free: 5.184 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.576, allocations: 0 / 0.7317 GB, free: 5.184 MB / 0.545 GB Notification: Performance of Templates: time 0.004332/0.5804, allocations: 1.457 MB / 0.7331 GB, free: 3.734 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)