Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001287/0.001287, allocations: 197 kB / 16.26 MB, free: 6.621 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.484/1.484, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.556/1.556, allocations: 251.6 MB / 0.5089 GB, free: 3.273 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.002003/0.002003, allocations: 72.31 kB / 0.6217 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6004/0.6024, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002693/0.6052, allocations: 1.549 MB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.6065, allocations: 0.7719 MB / 0.7263 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.6065, allocations: 0 / 0.7263 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.89e-05/0.6066, allocations: 7.922 kB / 0.7263 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.555e-05/0.6066, allocations: 7.938 kB / 0.7263 GB, free: 10.75 MB / 0.545 GB [/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.0005391/0.6072, allocations: 115.8 kB / 0.7264 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.6073, allocations: 71.78 kB / 0.7264 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.753e-05/0.6074, allocations: 19.97 kB / 0.7265 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.057e-05/0.6075, allocations: 27.92 kB / 0.7265 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.6076, allocations: 43.81 kB / 0.7265 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.6076, allocations: 11.94 kB / 0.7265 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.6078, allocations: 91.91 kB / 0.7266 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.6078, allocations: 19.92 kB / 0.7267 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.6079, allocations: 35.86 kB / 0.7267 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.6081, allocations: 137.6 kB / 0.7268 GB, free: 10.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6081, allocations: 4 kB / 0.7268 GB, free: 10.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6081, allocations: 7.875 kB / 0.7268 GB, free: 10.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.6081, allocations: 0 / 0.7268 GB, free: 10.17 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.0006135/0.6087, allocations: 416.8 kB / 0.7272 GB, free: 9.711 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.6088, allocations: 12.03 kB / 0.7272 GB, free: 9.699 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.6088, allocations: 8.844 kB / 0.7272 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.6089, allocations: 176.3 kB / 0.7274 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.609, allocations: 4.375 kB / 0.7274 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.609, allocations: 4.375 kB / 0.7274 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.6092, allocations: 81.92 kB / 0.7275 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.6092, allocations: 0 / 0.7275 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.6092, allocations: 4 kB / 0.7275 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.6092, allocations: 0 / 0.7275 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.6094, allocations: 43.91 kB / 0.7275 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.61, allocations: 316.7 kB / 0.7279 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.6101, allocations: 46.56 kB / 0.7279 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.75e-05/0.6102, allocations: 32.97 kB / 0.7279 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.6102, allocations: 0 / 0.7279 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.6104, allocations: 83.38 kB / 0.728 GB, free: 8.797 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.615e-06/0.6104, allocations: 4 kB / 0.728 GB, free: 8.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003746/0.6108, allocations: 137.5 kB / 0.7281 GB, free: 8.652 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.6109, allocations: 59.39 kB / 0.7282 GB, free: 8.582 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.611, allocations: 117.8 kB / 0.7283 GB, free: 8.457 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.611, allocations: 37.7 kB / 0.7283 GB, free: 8.414 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.6111, allocations: 88.12 kB / 0.7284 GB, free: 8.324 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.6111, allocations: 15.81 kB / 0.7284 GB, free: 8.309 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.6111, allocations: 25.7 kB / 0.7285 GB, free: 8.277 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6113, allocations: 322.8 kB / 0.7288 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.6113, allocations: 27.97 kB / 0.7288 GB, free: 7.926 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.859e-05/0.6114, allocations: 59.36 kB / 0.7289 GB, free: 7.855 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.6116, allocations: 79.34 kB / 0.7289 GB, free: 7.766 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6116, allocations: 0 / 0.7289 GB, free: 7.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002171/0.6118, allocations: 113.5 kB / 0.729 GB, free: 7.648 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.6119, allocations: 8.062 kB / 0.7291 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6119, allocations: 0 / 0.7291 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.6119, allocations: 4 kB / 0.7291 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/0.612, allocations: 11.98 kB / 0.7291 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.612, allocations: 0 / 0.7291 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.006e-05/0.6121, allocations: 15.83 kB / 0.7291 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.6121, allocations: 7.938 kB / 0.7291 GB, free: 7.602 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.492e-05/0.6122, allocations: 125.8 kB / 0.7292 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.6122, allocations: 4 kB / 0.7292 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.6122, allocations: 8.375 kB / 0.7292 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.6122, allocations: 3.938 kB / 0.7292 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6123, allocations: 0 / 0.7292 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6123, allocations: 3.984 kB / 0.7292 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/0.6127, allocations: 386.3 kB / 0.7296 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.6127, allocations: 3.984 kB / 0.7296 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.765e-05/0.6128, allocations: 8.062 kB / 0.7296 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.6128, allocations: 4 kB / 0.7296 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.6128, allocations: 4 kB / 0.7296 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6128, allocations: 0 / 0.7296 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6128, allocations: 3.938 kB / 0.7296 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.6131, allocations: 207.5 kB / 0.7298 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.6131, allocations: 85.02 kB / 0.7299 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.6131, allocations: 0 / 0.7299 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.6132, allocations: 11.98 kB / 0.7299 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.6133, allocations: 19.91 kB / 0.7299 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.6133, allocations: 0 / 0.7299 GB, free: 6.641 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.6134, allocations: 91.27 kB / 0.73 GB, free: 6.551 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6134, allocations: 4 kB / 0.73 GB, free: 6.547 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002887/0.6137, allocations: 43.92 kB / 0.7301 GB, free: 6.504 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,occ.y,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.0003325/0.614, allocations: 158.6 kB / 0.7302 GB, free: 6.355 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.6142, allocations: 71.89 kB / 0.7303 GB, free: 6.285 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6142, allocations: 0 / 0.7303 GB, free: 6.285 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.098e-05/0.6143, allocations: 35.97 kB / 0.7303 GB, free: 6.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.6146, allocations: 10.92 kB / 0.7303 GB, free: 6.242 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.615, allocations: 204.3 kB / 0.7305 GB, free: 6.012 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.6153, allocations: 0.6885 MB / 0.7312 GB, free: 5.297 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.559e-05/0.6153, allocations: 4 kB / 0.7312 GB, free: 5.293 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.6154, allocations: 15.44 kB / 0.7312 GB, free: 5.281 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.6154, allocations: 3.938 kB / 0.7312 GB, free: 5.277 MB / 0.545 GB Notification: Performance of Templates: time 0.003977/0.6193, allocations: 1.41 MB / 0.7326 GB, free: 3.875 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)