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.006216/0.006216, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.001255/0.001255, allocations: 193.5 kB / 16.68 MB, free: 5.969 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.543/1.543, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.41/1.41, allocations: 251.7 MB / 0.5094 GB, free: 396 kB / 430.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.001472/0.001472, allocations: 75.91 kB / 0.7258 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6972/0.6987, allocations: 104.7 MB / 0.828 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002655/0.7014, allocations: 1.495 MB / 0.8295 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.7028, allocations: 0.778 MB / 0.8302 GB, free: 292 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-05/0.7028, allocations: 4 kB / 0.8303 GB, free: 288 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.7029, allocations: 3.938 kB / 0.8303 GB, free: 284 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.931e-05/0.703, allocations: 11.86 kB / 0.8303 GB, free: 272 kB / 0.6231 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.0005867/0.7036, allocations: 119.6 kB / 0.8304 GB, free: 152 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.7037, allocations: 83.77 kB / 0.8305 GB, free: 68 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 9.586e-05/0.7038, allocations: 12 kB / 0.8305 GB, free: 56 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.7039, allocations: 43.77 kB / 0.8305 GB, free: 12 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.704, allocations: 35.91 kB / 0.8305 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.7041, allocations: 4 kB / 0.8306 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.7043, allocations: 95.91 kB / 0.8306 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.7043, allocations: 19.91 kB / 0.8307 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.242e-05/0.7044, allocations: 31.86 kB / 0.8307 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.7046, allocations: 140.2 kB / 0.8308 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.7046, allocations: 0 / 0.8308 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7046, allocations: 4 kB / 0.8308 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.7046, allocations: 7.984 kB / 0.8308 GB, free: 15.69 MB / 0.6387 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.0006169/0.7052, allocations: 416.7 kB / 0.8312 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.7053, allocations: 12.03 kB / 0.8312 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.7053, allocations: 8.891 kB / 0.8313 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.7054, allocations: 176.2 kB / 0.8314 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.7055, allocations: 12.38 kB / 0.8314 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.7055, allocations: 4.375 kB / 0.8314 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.7057, allocations: 81.91 kB / 0.8315 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.7057, allocations: 0 / 0.8315 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.7057, allocations: 0 / 0.8315 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.7057, allocations: 3.984 kB / 0.8315 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.7059, allocations: 35.97 kB / 0.8316 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.7065, allocations: 312.7 kB / 0.8319 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.7066, allocations: 54.5 kB / 0.8319 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.955e-05/0.7067, allocations: 36.95 kB / 0.8319 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.7067, allocations: 0 / 0.8319 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.7069, allocations: 75.33 kB / 0.832 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.7069, allocations: 4 kB / 0.832 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0003745/0.7073, allocations: 137.7 kB / 0.8321 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.7074, allocations: 59.34 kB / 0.8322 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.817e-05/0.7075, allocations: 121.8 kB / 0.8323 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.7075, allocations: 33.7 kB / 0.8324 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.7076, allocations: 84.14 kB / 0.8324 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.7076, allocations: 15.91 kB / 0.8324 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.7076, allocations: 25.7 kB / 0.8325 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.7078, allocations: 330.8 kB / 0.8328 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.7079, allocations: 23.98 kB / 0.8328 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.7081, allocations: 50.5 kB / 0.8329 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.7082, allocations: 78.48 kB / 0.8329 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7082, allocations: 0 / 0.8329 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002372/0.7085, allocations: 121.5 kB / 0.8331 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.7085, allocations: 4 kB / 0.8331 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.7085, allocations: 0 / 0.8331 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.7085, allocations: 4 kB / 0.8331 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/0.7086, allocations: 11.98 kB / 0.8331 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.7087, allocations: 0 / 0.8331 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.7087, allocations: 12 kB / 0.8331 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.7088, allocations: 7.984 kB / 0.8331 GB, free: 13.13 MB / 0.6387 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.661e-05/0.7089, allocations: 126.8 kB / 0.8332 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.7089, allocations: 7.953 kB / 0.8332 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.7089, allocations: 4.375 kB / 0.8332 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7089, allocations: 0 / 0.8332 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7089, allocations: 0 / 0.8332 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7089, allocations: 4 kB / 0.8332 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.7094, allocations: 386.4 kB / 0.8336 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.7094, allocations: 0 / 0.8336 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.7095, allocations: 11.92 kB / 0.8336 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.7095, allocations: 0 / 0.8336 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.7095, allocations: 0 / 0.8336 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7095, allocations: 0 / 0.8336 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.7095, allocations: 3.938 kB / 0.8336 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.7098, allocations: 219.9 kB / 0.8338 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.7099, allocations: 81.11 kB / 0.8339 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.7099, allocations: 4 kB / 0.8339 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.71, allocations: 0 / 0.8339 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.7101, allocations: 15.92 kB / 0.8339 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.619e-06/0.7101, allocations: 7.938 kB / 0.8339 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.982e-05/0.7101, allocations: 91.27 kB / 0.834 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7101, allocations: 0 / 0.834 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003796/0.7105, allocations: 47.86 kB / 0.8341 GB, free: 12.04 MB / 0.6387 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.0003514/0.7109, allocations: 164 kB / 0.8342 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.7111, allocations: 67.97 kB / 0.8343 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.7111, allocations: 128 / 0.8343 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.7113, allocations: 43.91 kB / 0.8343 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.7115, allocations: 4 kB / 0.8343 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.7119, allocations: 180.4 kB / 0.8345 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.7124, allocations: 0.6883 MB / 0.8352 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.967e-05/0.7124, allocations: 11.98 kB / 0.8352 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.7124, allocations: 7.438 kB / 0.8352 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.7124, allocations: 0 / 0.8352 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of Templates: time 0.00456/0.717, allocations: 1.453 MB / 0.8366 GB, free: 9.391 MB / 0.6387 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)