Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.319/5.319, 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.002487/0.002487, allocations: 356.8 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.436/4.436, allocations: 410.7 MB / 1.113 GB, free: 5.891 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.001834/0.001834, allocations: 195.4 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004885, allocations: 12 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7306/0.7311, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2069/0.938, allocations: 139.9 MB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.9383, allocations: 85.17 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.01284/0.9512, allocations: 2.989 MB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9512, allocations: 0 / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.9513, allocations: 2.031 kB / 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.0005697/0.9518, allocations: 420.7 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.9519, allocations: 16.12 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.9519, allocations: 4 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.527e-05/0.952, allocations: 176.5 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.9521, allocations: 5.469 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.9521, allocations: 7.938 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.9524, allocations: 79.58 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.9524, allocations: 0 / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.9524, allocations: 0.75 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.9524, allocations: 4 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.9527, allocations: 41.5 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007316/0.9534, allocations: 321.9 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.9536, allocations: 50.5 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.9537, allocations: 32.97 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.9538, allocations: 4.688 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.954, allocations: 85.33 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.954, allocations: 0 / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005558/0.9546, allocations: 157.8 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.9546, allocations: 55.36 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.231e-05/0.9547, allocations: 122.7 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.9548, allocations: 25.7 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.9548, allocations: 96.22 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.9548, allocations: 11.81 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.9549, allocations: 1 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.9549, allocations: 323.5 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.9551, allocations: 29.83 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.9552, allocations: 47.25 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.9554, allocations: 37.77 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.9554, allocations: 0 / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000349/0.9558, allocations: 119.5 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.9558, allocations: 8 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.9558, allocations: 2.469 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.9558, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.956, allocations: 23.92 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.956, allocations: 3.953 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.9561, allocations: 9.125 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.9562, allocations: 11.98 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 9.005e-05/0.9563, allocations: 115.2 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.9563, allocations: 4 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.9563, allocations: 9.625 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.9563, allocations: 7.375 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.9564, allocations: 0 / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.9564, allocations: 5.172 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.9569, allocations: 385.3 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.957, allocations: 0 / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/0.9571, allocations: 7.984 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.9571, allocations: 4 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.9571, allocations: 3.938 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.9571, allocations: 5.203 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.9571, allocations: 0 / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.9575, allocations: 218.8 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/0.9575, allocations: 84.95 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.9576, allocations: 4 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.9577, allocations: 4 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.9578, allocations: 12.91 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.9578, allocations: 4 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.878e-05/0.9579, allocations: 93.78 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9579, allocations: 0 / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004169/0.9583, allocations: 55.92 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.0004284/0.9587, allocations: 162.7 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.9591, allocations: 81.05 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9591, allocations: 1.062 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.9593, allocations: 37.61 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.0003226/0.9596, allocations: 8 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/0.9602, allocations: 206.8 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.9604, allocations: 0.6935 MB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.843e-05/0.9605, allocations: 5.625 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.9605, allocations: 11.44 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.072e-06/0.9605, allocations: 0.5625 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.005411/0.966, allocations: 1.533 MB / 1.607 GB, free: 135.1 MB / 0.8542 GB