Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001529, allocations: 108 kB / 15.6 MB, free: 132 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.001406/0.001407, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.632/1.632, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.578/1.578, allocations: 251.7 MB / 0.5092 GB, free: 3.082 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.002669/0.002669, allocations: 67.91 kB / 0.6223 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5429/0.5455, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002712/0.5483, allocations: 1.489 MB / 0.726 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.5496, allocations: 0.7873 MB / 0.7267 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.5497, allocations: 0 / 0.7267 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.5497, allocations: 3.938 kB / 0.7267 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.5498, allocations: 11.88 kB / 0.7268 GB, free: 10.59 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.0005789/0.5504, allocations: 127.5 kB / 0.7269 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.5505, allocations: 75.78 kB / 0.7269 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.649e-05/0.5506, allocations: 11.98 kB / 0.727 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.275e-05/0.5507, allocations: 39.84 kB / 0.727 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.543e-05/0.5508, allocations: 39.84 kB / 0.727 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.5508, allocations: 4 kB / 0.727 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.551, allocations: 95.91 kB / 0.7271 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.861e-05/0.5511, allocations: 19.89 kB / 0.7272 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.381e-05/0.5511, allocations: 35.8 kB / 0.7272 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.5514, allocations: 137.6 kB / 0.7273 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5514, allocations: 4 kB / 0.7273 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5514, allocations: 0 / 0.7273 GB, free: 10.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.5514, allocations: 0 / 0.7273 GB, free: 10.02 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.000661/0.5521, allocations: 420.8 kB / 0.7277 GB, free: 9.551 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.5521, allocations: 8.031 kB / 0.7277 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.5522, allocations: 8.844 kB / 0.7277 GB, free: 9.535 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.5523, allocations: 176.3 kB / 0.7279 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.5523, allocations: 8.359 kB / 0.7279 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.5523, allocations: 8.375 kB / 0.7279 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.5525, allocations: 73.91 kB / 0.728 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5525, allocations: 0 / 0.728 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.5526, allocations: 0 / 0.728 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5526, allocations: 4 kB / 0.728 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.5527, allocations: 35.97 kB / 0.728 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.5534, allocations: 320.7 kB / 0.7283 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.5535, allocations: 54.48 kB / 0.7284 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/0.5536, allocations: 28.97 kB / 0.7284 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.5536, allocations: 4 kB / 0.7284 GB, free: 8.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.5538, allocations: 79.36 kB / 0.7285 GB, free: 8.641 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.5538, allocations: 0 / 0.7285 GB, free: 8.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004308/0.5543, allocations: 141.6 kB / 0.7286 GB, free: 8.496 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.5543, allocations: 55.34 kB / 0.7287 GB, free: 8.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.832e-05/0.5544, allocations: 125.8 kB / 0.7288 GB, free: 8.297 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.5545, allocations: 29.7 kB / 0.7288 GB, free: 8.262 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.5545, allocations: 88.14 kB / 0.7289 GB, free: 8.172 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.5546, allocations: 19.81 kB / 0.7289 GB, free: 8.152 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.5546, allocations: 33.64 kB / 0.729 GB, free: 8.113 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5547, allocations: 318.8 kB / 0.7293 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.966e-05/0.5548, allocations: 27.98 kB / 0.7293 GB, free: 7.766 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.854e-05/0.5549, allocations: 46.55 kB / 0.7293 GB, free: 7.711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.5551, allocations: 74.5 kB / 0.7294 GB, free: 7.629 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5551, allocations: 0 / 0.7294 GB, free: 7.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000246/0.5554, allocations: 117.5 kB / 0.7295 GB, free: 7.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.5554, allocations: 8 kB / 0.7295 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.5554, allocations: 0 / 0.7295 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.5554, allocations: 0 / 0.7295 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.5555, allocations: 16.05 kB / 0.7295 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.5556, allocations: 4 kB / 0.7296 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.034e-05/0.5556, allocations: 11.84 kB / 0.7296 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.5557, allocations: 7.984 kB / 0.7296 GB, free: 7.461 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 9.113e-05/0.5558, allocations: 125.7 kB / 0.7297 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.5558, allocations: 0 / 0.7297 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.5558, allocations: 16.38 kB / 0.7297 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5558, allocations: 0 / 0.7297 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.5558, allocations: 4 kB / 0.7297 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5558, allocations: 0 / 0.7297 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.5563, allocations: 378.4 kB / 0.7301 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5563, allocations: 0 / 0.7301 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.5564, allocations: 11.92 kB / 0.7301 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.5564, allocations: 3.938 kB / 0.7301 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.5564, allocations: 4 kB / 0.7301 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5564, allocations: 0 / 0.7301 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5564, allocations: 7.938 kB / 0.7301 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.5567, allocations: 203.5 kB / 0.7303 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.5568, allocations: 85.02 kB / 0.7304 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.5568, allocations: 0 / 0.7304 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.116e-05/0.5569, allocations: 7.984 kB / 0.7304 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.557, allocations: 11.94 kB / 0.7304 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.557, allocations: 0 / 0.7304 GB, free: 6.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.866e-05/0.5571, allocations: 95.92 kB / 0.7305 GB, free: 6.426 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5571, allocations: 4 kB / 0.7305 GB, free: 6.422 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003427/0.5574, allocations: 43.92 kB / 0.7305 GB, free: 6.379 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.0004145/0.5578, allocations: 168.9 kB / 0.7307 GB, free: 6.223 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.5581, allocations: 71.95 kB / 0.7308 GB, free: 6.152 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.5581, allocations: 0 / 0.7308 GB, free: 6.152 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.685e-05/0.5582, allocations: 35.92 kB / 0.7308 GB, free: 6.117 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.5585, allocations: 8 kB / 0.7308 GB, free: 6.109 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.5589, allocations: 188.4 kB / 0.731 GB, free: 5.895 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.5593, allocations: 0.6878 MB / 0.7317 GB, free: 5.184 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.172e-05/0.5593, allocations: 7.984 kB / 0.7317 GB, free: 5.176 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.5594, allocations: 15.44 kB / 0.7317 GB, free: 5.164 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.5594, allocations: 0 / 0.7317 GB, free: 5.164 MB / 0.545 GB Notification: Performance of Templates: time 0.004434/0.5638, allocations: 1.458 MB / 0.7331 GB, free: 3.719 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)