Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.188/5.188, allocations: 0.5623 GB / 0.5775 GB, free: 3.355 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00268/0.00268, allocations: 356.3 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.171/4.171, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001712/0.001711, allocations: 176 kB / 1.226 GB, free: 35.92 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004799, allocations: 19.98 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2209, allocations: 115.3 MB / 1.461 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9145/1.135, allocations: 139.8 MB / 1.598 GB, free: 1.973 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/1.136, allocations: 85.95 kB / 1.598 GB, free: 1.922 MB / 0.6667 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 FrontEnd - DAE generated: time 0.01398/1.15, allocations: 2.995 MB / 1.601 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.793e-06/1.15, allocations: 4 kB / 1.601 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.15, allocations: 0 / 1.601 GB, free: 15.36 MB / 0.6823 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.0007168/1.151, allocations: 427.5 kB / 1.601 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.151, allocations: 8.031 kB / 1.601 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/1.151, allocations: 4 kB / 1.601 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/1.151, allocations: 174.9 kB / 1.601 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/1.151, allocations: 4 kB / 1.601 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/1.151, allocations: 15.81 kB / 1.602 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/1.151, allocations: 65.28 kB / 1.602 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.151, allocations: 0 / 1.602 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/1.151, allocations: 0 / 1.602 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/1.151, allocations: 4 kB / 1.602 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/1.151, allocations: 47.45 kB / 1.602 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008743/1.152, allocations: 319.7 kB / 1.602 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/1.153, allocations: 54.3 kB / 1.602 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/1.153, allocations: 36.34 kB / 1.602 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/1.153, allocations: 4 kB / 1.602 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/1.153, allocations: 78.94 kB / 1.602 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/1.153, allocations: 0 / 1.602 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000625/1.154, allocations: 148.9 kB / 1.602 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/1.154, allocations: 62.98 kB / 1.602 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/1.154, allocations: 121.1 kB / 1.602 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/1.154, allocations: 29.64 kB / 1.602 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/1.154, allocations: 92.11 kB / 1.603 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/1.154, allocations: 19.55 kB / 1.603 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/1.154, allocations: 0 / 1.603 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.154, allocations: 318.7 kB / 1.603 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/1.154, allocations: 23.67 kB / 1.603 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/1.155, allocations: 54.59 kB / 1.603 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/1.155, allocations: 39.67 kB / 1.603 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.155, allocations: 0 / 1.603 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000422/1.155, allocations: 117 kB / 1.603 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.155, allocations: 8 kB / 1.603 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/1.155, allocations: 4.141 kB / 1.603 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.155, allocations: 0 / 1.603 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/1.155, allocations: 19.88 kB / 1.603 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/1.155, allocations: 11.92 kB / 1.603 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/1.156, allocations: 11.84 kB / 1.603 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/1.156, allocations: 4 kB / 1.603 GB, free: 13.02 MB / 0.6823 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000128/1.156, allocations: 113.8 kB / 1.603 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/1.156, allocations: 8 kB / 1.603 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/1.156, allocations: 12.11 kB / 1.603 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/1.156, allocations: 4 kB / 1.603 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.156, allocations: 0 / 1.603 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.156, allocations: 3.953 kB / 1.603 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006918/1.157, allocations: 380.8 kB / 1.604 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/1.157, allocations: 4 kB / 1.604 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/1.157, allocations: 4.5 kB / 1.604 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/1.157, allocations: 4 kB / 1.604 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/1.157, allocations: 7.969 kB / 1.604 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/1.157, allocations: 5.828 kB / 1.604 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.157, allocations: 0 / 1.604 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/1.157, allocations: 218.6 kB / 1.604 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/1.157, allocations: 84.95 kB / 1.604 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/1.157, allocations: 7.984 kB / 1.604 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/1.158, allocations: 4 kB / 1.604 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/1.158, allocations: 7.938 kB / 1.604 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/1.158, allocations: 4 kB / 1.604 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.352e-05/1.158, allocations: 96.22 kB / 1.604 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.3e-07/1.158, allocations: 0 / 1.604 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004537/1.158, allocations: 51.62 kB / 1.604 GB, free: 11.99 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005023/1.159, allocations: 179.3 kB / 1.604 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004004/1.159, allocations: 74.97 kB / 1.604 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.159, allocations: 3.938 kB / 1.604 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/1.159, allocations: 35.98 kB / 1.604 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/1.16, allocations: 11.92 kB / 1.604 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/1.16, allocations: 205.6 kB / 1.605 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/1.161, allocations: 0.6887 MB / 1.605 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.674e-05/1.161, allocations: 12.16 kB / 1.605 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/1.161, allocations: 11.44 kB / 1.605 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/1.161, allocations: 0 / 1.605 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of Templates: time 0.006005/1.167, allocations: 1.521 MB / 1.607 GB, free: 9.27 MB / 0.6823 GB