Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.1/5.1, allocations: 0.5623 GB / 0.5775 GB, free: 3.348 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.002531/0.00253, allocations: 356.1 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.578/4.578, allocations: 410.7 MB / 1.113 GB, free: 6.031 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.002266/0.002266, allocations: 197.1 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005044, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7436/0.7441, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/0.9585, allocations: 140.2 MB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.9588, allocations: 89.36 kB / 1.598 GB, free: 144 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.01484/0.9737, allocations: 3.237 MB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9737, allocations: 0 / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.9737, allocations: 4 kB / 1.601 GB, free: 140.8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006637/0.9744, allocations: 460.1 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.9745, allocations: 15.56 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.9745, allocations: 8.406 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.9747, allocations: 183.7 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.768e-05/0.9747, allocations: 8 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.9748, allocations: 5.312 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.9751, allocations: 86.5 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.9752, allocations: 0 / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.9752, allocations: 4 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.9752, allocations: 8.938 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.9755, allocations: 55.31 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.9765, allocations: 346.2 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.9768, allocations: 59.2 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.977, allocations: 54.08 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.9771, allocations: 2.109 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.9774, allocations: 103.8 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.285e-06/0.9774, allocations: 0 / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.001551/0.979, allocations: 198.4 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.9791, allocations: 59.34 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.9792, allocations: 126.6 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.9793, allocations: 29.7 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.9794, allocations: 97.12 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.9794, allocations: 11.72 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.9795, allocations: 8.656 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.182e-05/0.9795, allocations: 320.7 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.9797, allocations: 31.98 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.9798, allocations: 68.7 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.98, allocations: 39.7 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.98, allocations: 0 / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000399/0.9804, allocations: 134.3 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.9805, allocations: 12.91 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.9805, allocations: 0 / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.9805, allocations: 3.984 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.9807, allocations: 12.88 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.9807, allocations: 15.88 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.9809, allocations: 12.47 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.9809, allocations: 9.562 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001082/0.981, allocations: 119.8 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.9811, allocations: 8.844 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.9811, allocations: 12.36 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.9811, allocations: 1.875 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.9811, allocations: 4 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.9812, allocations: 7.953 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000817/0.982, allocations: 429.1 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.982, allocations: 3.984 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/0.9821, allocations: 4 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.9821, allocations: 0.7188 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.9821, allocations: 4 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.351e-06/0.9821, allocations: 8.656 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9821, allocations: 0 / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006405/0.9828, allocations: 258.3 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.9828, allocations: 85.02 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.9829, allocations: 4.5 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.9831, allocations: 13.27 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.9832, allocations: 7.938 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.9832, allocations: 5.969 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.436e-05/0.9833, allocations: 103.3 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9833, allocations: 0 / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004535/0.9837, allocations: 51.92 kB / 1.605 GB, free: 136.8 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004542/0.9842, allocations: 166.6 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004608/0.9847, allocations: 93.83 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.9847, allocations: 3.281 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.9849, allocations: 55.91 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.9853, allocations: 7.984 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.9859, allocations: 227.6 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.9861, allocations: 0.6895 MB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.068e-05/0.9862, allocations: 10.84 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.9862, allocations: 11.44 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of SimCode: time 9.22e-07/0.9862, allocations: 1.406 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.005948/0.9922, allocations: 1.803 MB / 1.608 GB, free: 133.9 MB / 0.8542 GB