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.001017/0.001017, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001045/0.001046, allocations: 191.9 kB / 16.25 MB, free: 6.625 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.553/1.553, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.544/1.544, allocations: 251.6 MB / 0.5089 GB, free: 3.297 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.001355/0.001355, allocations: 63.91 kB / 0.6217 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5321/0.5334, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002594/0.5361, allocations: 1.568 MB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.5374, allocations: 0.7718 MB / 0.7263 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.5375, allocations: 4 kB / 0.7263 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.412e-05/0.5375, allocations: 0 / 0.7263 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.338e-05/0.5376, allocations: 11.86 kB / 0.7263 GB, free: 10.74 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.0006029/0.5382, allocations: 107.8 kB / 0.7264 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.5384, allocations: 83.7 kB / 0.7265 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.5385, allocations: 4 kB / 0.7265 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.596e-05/0.5386, allocations: 35.91 kB / 0.7265 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.546e-05/0.5387, allocations: 43.83 kB / 0.7265 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.5387, allocations: 8 kB / 0.7266 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.5389, allocations: 91.84 kB / 0.7266 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.5389, allocations: 19.97 kB / 0.7267 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.783e-05/0.539, allocations: 35.8 kB / 0.7267 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.5393, allocations: 141.6 kB / 0.7268 GB, free: 10.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5393, allocations: 0 / 0.7268 GB, free: 10.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5393, allocations: 0 / 0.7268 GB, free: 10.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.5393, allocations: 0 / 0.7268 GB, free: 10.18 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.0006829/0.54, allocations: 424.8 kB / 0.7272 GB, free: 9.711 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.54, allocations: 8.031 kB / 0.7272 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.5401, allocations: 8.844 kB / 0.7273 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.5402, allocations: 168.3 kB / 0.7274 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.5402, allocations: 12.31 kB / 0.7274 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.5403, allocations: 4.375 kB / 0.7274 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.5405, allocations: 65.97 kB / 0.7275 GB, free: 9.406 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.5405, allocations: 4 kB / 0.7275 GB, free: 9.402 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.5405, allocations: 11.97 kB / 0.7275 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.5405, allocations: 4 kB / 0.7275 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.5406, allocations: 35.97 kB / 0.7275 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/0.5412, allocations: 320.6 kB / 0.7279 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.5414, allocations: 54.5 kB / 0.7279 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.76e-05/0.5415, allocations: 28.97 kB / 0.7279 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.5415, allocations: 0 / 0.7279 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.5417, allocations: 75.38 kB / 0.728 GB, free: 8.809 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.5417, allocations: 0 / 0.728 GB, free: 8.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004033/0.5421, allocations: 149.5 kB / 0.7281 GB, free: 8.656 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.5421, allocations: 59.33 kB / 0.7282 GB, free: 8.586 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.5423, allocations: 117.8 kB / 0.7283 GB, free: 8.461 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.5423, allocations: 29.7 kB / 0.7283 GB, free: 8.426 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.5423, allocations: 92.12 kB / 0.7284 GB, free: 8.332 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.5424, allocations: 15.81 kB / 0.7284 GB, free: 8.316 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.5424, allocations: 25.7 kB / 0.7285 GB, free: 8.285 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5426, allocations: 322.8 kB / 0.7288 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.661e-05/0.5427, allocations: 27.98 kB / 0.7288 GB, free: 7.934 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.658e-05/0.5427, allocations: 46.55 kB / 0.7288 GB, free: 7.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.5429, allocations: 78.48 kB / 0.7289 GB, free: 7.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5429, allocations: 0 / 0.7289 GB, free: 7.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002263/0.5431, allocations: 113.5 kB / 0.729 GB, free: 7.676 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.5432, allocations: 4 kB / 0.729 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.5432, allocations: 4 kB / 0.729 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.5432, allocations: 0 / 0.729 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.422e-05/0.5433, allocations: 8 kB / 0.729 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.5433, allocations: 3.984 kB / 0.7291 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.57e-05/0.5434, allocations: 11.91 kB / 0.7291 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.5434, allocations: 8 kB / 0.7291 GB, free: 7.637 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 0.0001147/0.5435, allocations: 125.7 kB / 0.7292 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.5435, allocations: 4 kB / 0.7292 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.5436, allocations: 12.36 kB / 0.7292 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.5436, allocations: 0 / 0.7292 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5436, allocations: 0 / 0.7292 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5436, allocations: 0 / 0.7292 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.5441, allocations: 394.6 kB / 0.7296 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5441, allocations: 0 / 0.7296 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.5441, allocations: 4 kB / 0.7296 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5441, allocations: 0 / 0.7296 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.5441, allocations: 11.98 kB / 0.7296 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5442, allocations: 80 / 0.7296 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.5442, allocations: 7.922 kB / 0.7296 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.5445, allocations: 207.5 kB / 0.7298 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.5445, allocations: 85.02 kB / 0.7299 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.5445, allocations: 3.984 kB / 0.7299 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.552e-05/0.5446, allocations: 7.938 kB / 0.7299 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.5447, allocations: 11.92 kB / 0.7299 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.5447, allocations: 4 kB / 0.7299 GB, free: 6.676 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.702e-05/0.5448, allocations: 99.8 kB / 0.73 GB, free: 6.578 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5448, allocations: 0 / 0.73 GB, free: 6.578 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002956/0.5451, allocations: 43.94 kB / 0.73 GB, free: 6.535 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.0003512/0.5454, allocations: 154.5 kB / 0.7302 GB, free: 6.391 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.5457, allocations: 71.89 kB / 0.7303 GB, free: 6.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5457, allocations: 0 / 0.7303 GB, free: 6.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.972e-05/0.5458, allocations: 36.11 kB / 0.7303 GB, free: 6.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.5461, allocations: 11.98 kB / 0.7303 GB, free: 6.273 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.5465, allocations: 200.2 kB / 0.7305 GB, free: 6.047 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.5468, allocations: 0.6924 MB / 0.7312 GB, free: 5.328 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.871e-05/0.5468, allocations: 4 kB / 0.7312 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.5469, allocations: 11.44 kB / 0.7312 GB, free: 5.316 MB / 0.545 GB Notification: Performance of SimCode: time 1.9e-07/0.5469, allocations: 3.938 kB / 0.7312 GB, free: 5.312 MB / 0.545 GB Notification: Performance of Templates: time 0.004044/0.5509, allocations: 1.405 MB / 0.7326 GB, free: 3.918 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)