Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.095/5.095, allocations: 0.5623 GB / 0.5775 GB, free: 3.309 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.002576/0.002576, allocations: 353.8 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.659/4.659, allocations: 410.7 MB / 1.113 GB, free: 6.086 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.001778/0.001778, allocations: 188 kB / 1.226 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007859/0.0007862, allocations: 16 kB / 1.349 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7249/0.7257, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.24/0.9657, allocations: 140.1 MB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.966, allocations: 83.95 kB / 1.598 GB, free: 144.1 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.01427/0.9803, allocations: 3.234 MB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9804, allocations: 1.312 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.9804, allocations: 0 / 1.601 GB, free: 140.9 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.0006664/0.9811, allocations: 461.2 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.9811, allocations: 11.62 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.9812, allocations: 7.906 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.9813, allocations: 189.7 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.9813, allocations: 8 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.9814, allocations: 4.938 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.9817, allocations: 87.38 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.9817, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.9818, allocations: 4.625 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9818, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.9821, allocations: 58.69 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009684/0.983, allocations: 342.3 kB / 1.603 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.9833, allocations: 61.12 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.9835, allocations: 46.28 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.9835, allocations: 9.047 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.9838, allocations: 92.52 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.735e-06/0.9839, allocations: 7.031 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.00082/0.9847, allocations: 189.9 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.9847, allocations: 60.36 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.9849, allocations: 121.8 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.9849, allocations: 34.67 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.9849, allocations: 92.06 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.985, allocations: 19.72 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.985, allocations: 5 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.229e-05/0.9851, allocations: 323.4 kB / 1.604 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.9852, allocations: 33.64 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.9854, allocations: 61.02 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.9856, allocations: 42.55 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.9856, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004043/0.986, allocations: 136.8 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.986, allocations: 5 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.986, allocations: 4 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.9861, allocations: 3.938 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.9863, allocations: 16.52 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.9863, allocations: 8.859 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.9864, allocations: 13.62 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.9865, allocations: 11.98 kB / 1.604 GB, free: 138.1 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.0001098/0.9866, allocations: 114.8 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.9866, allocations: 11.84 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.9867, allocations: 12.38 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.9867, allocations: 1.688 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.9867, allocations: 0 / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.9867, allocations: 8 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007709/0.9875, allocations: 433.9 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.9875, allocations: 0 / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.9876, allocations: 4 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.9876, allocations: 4.719 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.9876, allocations: 3.984 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.9876, allocations: 4.672 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9876, allocations: 0 / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.9882, allocations: 253.8 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.9882, allocations: 86.41 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.9883, allocations: 4.781 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.9885, allocations: 9.922 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.9885, allocations: 7.953 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.9886, allocations: 7.984 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.628e-05/0.9886, allocations: 98.52 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9886, allocations: 1.844 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004474/0.9891, allocations: 51.94 kB / 1.605 GB, free: 137 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.0004299/0.9895, allocations: 168.2 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004534/0.99, allocations: 96.67 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.99, allocations: 3.938 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.9903, allocations: 52.14 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.9906, allocations: 11.94 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/0.9912, allocations: 220 kB / 1.605 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.9913, allocations: 0.6939 MB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.694e-05/0.9914, allocations: 6.672 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.9915, allocations: 11.44 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.022e-06/0.9915, allocations: 0 / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.005953/0.9974, allocations: 1.79 MB / 1.608 GB, free: 134 MB / 0.8542 GB