Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.994/4.994, allocations: 0.5623 GB / 0.5776 GB, free: 3.383 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.003901/0.003901, allocations: 357.5 kB / 0.6446 GB, free: 185.6 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.389/4.389, allocations: 410.7 MB / 1.113 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00188/0.00188, allocations: 198.1 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006798/0.0006801, allocations: 19.98 kB / 1.349 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.898/0.8987, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2008/1.099, allocations: 139.9 MB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/1.1, allocations: 93.44 kB / 1.598 GB, free: 144.2 MB / 0.8542 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.01326/1.113, allocations: 2.989 MB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.905e-06/1.113, allocations: 3.984 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.865e-06/1.113, allocations: 0 / 1.601 GB, free: 141.3 MB / 0.8542 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.000619/1.114, allocations: 426 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.114, allocations: 15.62 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/1.114, allocations: 0.5 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.644e-05/1.114, allocations: 174.2 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/1.114, allocations: 4 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/1.114, allocations: 8 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/1.114, allocations: 70.88 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.114, allocations: 0 / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/1.114, allocations: 3.984 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/1.114, allocations: 4 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/1.115, allocations: 37.61 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007587/1.115, allocations: 323.4 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/1.116, allocations: 55.8 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/1.116, allocations: 34.5 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/1.116, allocations: 4 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/1.116, allocations: 80.88 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/1.116, allocations: 1.594 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005714/1.117, allocations: 145.8 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/1.117, allocations: 67.42 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/1.117, allocations: 122.8 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/1.117, allocations: 25.7 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/1.117, allocations: 96.23 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/1.117, allocations: 13.45 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-06/1.117, allocations: 4 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.807e-05/1.117, allocations: 314.8 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/1.117, allocations: 28.64 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/1.117, allocations: 57.86 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/1.117, allocations: 33.73 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.118, allocations: 0 / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003562/1.118, allocations: 116.5 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.118, allocations: 8 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.118, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/1.118, allocations: 1.125 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/1.118, allocations: 19.92 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.118, allocations: 3.953 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/1.118, allocations: 12.91 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/1.118, allocations: 4 kB / 1.603 GB, free: 138.8 MB / 0.8542 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.0001028/1.118, allocations: 119.7 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/1.118, allocations: 4 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/1.118, allocations: 16.3 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.118, allocations: 4.75 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.119, allocations: 0 / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.119, allocations: 6.188 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/1.119, allocations: 384.4 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.119, allocations: 0 / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/1.119, allocations: 4.5 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.119, allocations: 5.969 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/1.119, allocations: 7.984 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/1.119, allocations: 3.953 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.119, allocations: 4 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/1.12, allocations: 218.1 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/1.12, allocations: 85.89 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/1.12, allocations: 7.984 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/1.12, allocations: 9.656 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/1.12, allocations: 7.938 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/1.12, allocations: 4 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.461e-05/1.12, allocations: 96.17 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/1.12, allocations: 0 / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004205/1.121, allocations: 44 kB / 1.604 GB, free: 137.7 MB / 0.8542 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.0004309/1.121, allocations: 172.4 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003641/1.121, allocations: 74 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.121, allocations: 0 / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/1.122, allocations: 37.11 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/1.122, allocations: 15.11 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/1.122, allocations: 203.8 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/1.123, allocations: 0.6945 MB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.09e-05/1.123, allocations: 9.297 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/1.123, allocations: 11.44 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.092e-06/1.123, allocations: 5.406 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.005522/1.128, allocations: 1.518 MB / 1.607 GB, free: 135.1 MB / 0.8542 GB