Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.894/4.894, allocations: 0.5623 GB / 0.5775 GB, free: 66.97 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002778/0.002777, allocations: 352 kB / 0.6446 GB, free: 21.66 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.257/4.257, allocations: 410.7 MB / 1.113 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001917/0.001917, allocations: 190.7 kB / 1.226 GB, free: 9.445 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004902, allocations: 15.98 kB / 1.349 GB, free: 84.64 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2245, allocations: 115.3 MB / 1.461 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8968/1.121, allocations: 139.9 MB / 1.598 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003619/1.122, allocations: 87.94 kB / 1.598 GB, free: 11.75 MB / 0.7136 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.01433/1.136, allocations: 2.986 MB / 1.601 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.214e-06/1.136, allocations: 0 / 1.601 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.092e-05/1.136, allocations: 4 kB / 1.601 GB, free: 8.773 MB / 0.7136 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.0007514/1.137, allocations: 425.3 kB / 1.601 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.137, allocations: 8.031 kB / 1.601 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/1.137, allocations: 4 kB / 1.601 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/1.137, allocations: 178.8 kB / 1.601 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/1.137, allocations: 8 kB / 1.602 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/1.137, allocations: 4 kB / 1.602 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/1.138, allocations: 69.66 kB / 1.602 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.138, allocations: 0 / 1.602 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/1.138, allocations: 4 kB / 1.602 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.138, allocations: 0 / 1.602 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/1.138, allocations: 51.91 kB / 1.602 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008326/1.139, allocations: 312.7 kB / 1.602 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/1.139, allocations: 62.48 kB / 1.602 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/1.139, allocations: 36.97 kB / 1.602 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/1.139, allocations: 0 / 1.602 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/1.139, allocations: 75.38 kB / 1.602 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/1.139, allocations: 0 / 1.602 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0006127/1.14, allocations: 153.5 kB / 1.602 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/1.14, allocations: 55.36 kB / 1.602 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/1.14, allocations: 121.8 kB / 1.602 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/1.14, allocations: 29.7 kB / 1.602 GB, free: 7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/1.14, allocations: 100.3 kB / 1.603 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/1.14, allocations: 19.8 kB / 1.603 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-06/1.14, allocations: 0 / 1.603 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.141, allocations: 314.8 kB / 1.603 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/1.141, allocations: 27.98 kB / 1.603 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/1.141, allocations: 51.86 kB / 1.603 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/1.141, allocations: 39.98 kB / 1.603 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/1.141, allocations: 0 / 1.603 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003966/1.142, allocations: 113.5 kB / 1.603 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.142, allocations: 11.03 kB / 1.603 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.142, allocations: 0 / 1.603 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.142, allocations: 7.938 kB / 1.603 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/1.142, allocations: 15.98 kB / 1.603 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/1.142, allocations: 3.953 kB / 1.603 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/1.142, allocations: 11.91 kB / 1.603 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/1.142, allocations: 0 / 1.603 GB, free: 6.27 MB / 0.7136 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.0001321/1.142, allocations: 121.8 kB / 1.603 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/1.142, allocations: 0 / 1.603 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/1.142, allocations: 16.36 kB / 1.603 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.142, allocations: 0 / 1.603 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.142, allocations: 0 / 1.603 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/1.142, allocations: 4.828 kB / 1.603 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/1.143, allocations: 390.8 kB / 1.604 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.143, allocations: 4 kB / 1.604 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.39e-05/1.143, allocations: 4 kB / 1.604 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/1.143, allocations: 0 / 1.604 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/1.143, allocations: 7.969 kB / 1.604 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/1.143, allocations: 7.953 kB / 1.604 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.143, allocations: 4 kB / 1.604 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/1.144, allocations: 215.5 kB / 1.604 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/1.144, allocations: 92.95 kB / 1.604 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/1.144, allocations: 7.922 kB / 1.604 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/1.144, allocations: 4 kB / 1.604 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/1.144, allocations: 11.94 kB / 1.604 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/1.144, allocations: 0 / 1.604 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.018e-05/1.144, allocations: 95.81 kB / 1.604 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/1.144, allocations: 4 kB / 1.604 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004394/1.144, allocations: 47.94 kB / 1.604 GB, free: 5.152 MB / 0.7136 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.0004734/1.145, allocations: 171.8 kB / 1.604 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003764/1.145, allocations: 75.91 kB / 1.604 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.145, allocations: 0 / 1.604 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/1.146, allocations: 39.92 kB / 1.604 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/1.146, allocations: 7.984 kB / 1.604 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005508/1.146, allocations: 201.7 kB / 1.605 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/1.147, allocations: 0.6887 MB / 1.605 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.256e-05/1.147, allocations: 8.172 kB / 1.605 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/1.147, allocations: 15.44 kB / 1.605 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/1.147, allocations: 0 / 1.605 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of Templates: time 0.006005/1.153, allocations: 1.522 MB / 1.607 GB, free: 2.383 MB / 0.7136 GB