Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004173/0.004177, allocations: 232.5 kB / 15.82 MB, free: 6.301 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001144/0.001143, allocations: 177.1 kB / 16.71 MB, free: 5.453 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.924/3.924, allocations: 389.1 MB / 406.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.188/4.188, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005027, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1741, allocations: 98.72 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8187/0.9929, allocations: 126.5 MB / 1.228 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/0.9933, allocations: 87.66 kB / 1.228 GB, free: 26.98 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.01337/1.007, allocations: 2.947 MB / 1.231 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/1.007, allocations: 0 / 1.231 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.865e-06/1.007, allocations: 3.312 kB / 1.231 GB, free: 25.28 MB / 0.6198 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.000607/1.007, allocations: 414.9 kB / 1.232 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.007, allocations: 12.78 kB / 1.232 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/1.007, allocations: 3.906 kB / 1.232 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/1.008, allocations: 184.5 kB / 1.232 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/1.008, allocations: 7.125 kB / 1.232 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/1.008, allocations: 6.438 kB / 1.232 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/1.008, allocations: 68.41 kB / 1.232 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.008, allocations: 0 / 1.232 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/1.008, allocations: 0 / 1.232 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.008, allocations: 7.281 kB / 1.232 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/1.008, allocations: 41.23 kB / 1.232 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007942/1.009, allocations: 323.6 kB / 1.232 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/1.009, allocations: 50.77 kB / 1.232 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/1.009, allocations: 34.66 kB / 1.232 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/1.009, allocations: 4.656 kB / 1.232 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/1.01, allocations: 76.55 kB / 1.232 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/1.01, allocations: 3.219 kB / 1.232 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000572/1.01, allocations: 154.2 kB / 1.232 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/1.01, allocations: 55.41 kB / 1.233 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/1.01, allocations: 125.3 kB / 1.233 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/1.01, allocations: 30.62 kB / 1.233 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/1.011, allocations: 93.39 kB / 1.233 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/1.011, allocations: 11.31 kB / 1.233 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/1.011, allocations: 3.438 kB / 1.233 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.011, allocations: 322.4 kB / 1.233 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/1.011, allocations: 29.8 kB / 1.233 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/1.011, allocations: 52.36 kB / 1.233 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/1.011, allocations: 41.11 kB / 1.233 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.011, allocations: 0 / 1.233 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003581/1.012, allocations: 117.8 kB / 1.233 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/1.012, allocations: 8 kB / 1.233 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.012, allocations: 0.75 kB / 1.233 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/1.012, allocations: 0 / 1.233 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/1.012, allocations: 18.53 kB / 1.233 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/1.012, allocations: 0.7031 kB / 1.233 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/1.012, allocations: 9.312 kB / 1.233 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/1.012, allocations: 7.781 kB / 1.233 GB, free: 23.14 MB / 0.6198 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.000116/1.012, allocations: 113.8 kB / 1.233 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/1.012, allocations: 16.14 kB / 1.233 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/1.012, allocations: 6.344 kB / 1.233 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/1.012, allocations: 4 kB / 1.233 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.012, allocations: 7.984 kB / 1.233 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.012, allocations: 0.6094 kB / 1.233 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/1.013, allocations: 377.9 kB / 1.234 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.013, allocations: 0 / 1.234 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/1.013, allocations: 5.406 kB / 1.234 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.013, allocations: 4.656 kB / 1.234 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/1.013, allocations: 5.219 kB / 1.234 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/1.013, allocations: 14.89 kB / 1.234 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.013, allocations: 0 / 1.234 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008716/1.014, allocations: 215.7 kB / 1.234 GB, free: 38.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/1.014, allocations: 84.86 kB / 1.234 GB, free: 38.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/1.014, allocations: 9.5 kB / 1.234 GB, free: 38.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/1.014, allocations: 9.219 kB / 1.234 GB, free: 38.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/1.014, allocations: 3.938 kB / 1.234 GB, free: 38.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/1.014, allocations: 5.031 kB / 1.234 GB, free: 38.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.898e-05/1.014, allocations: 94.5 kB / 1.234 GB, free: 38.23 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.7e-07/1.014, allocations: 0 / 1.234 GB, free: 38.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004665/1.015, allocations: 53.44 kB / 1.234 GB, free: 38.19 MB / 0.6355 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.0004563/1.015, allocations: 170.3 kB / 1.235 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003513/1.016, allocations: 85.5 kB / 1.235 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.016, allocations: 1.156 kB / 1.235 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/1.016, allocations: 37.67 kB / 1.235 GB, free: 37.96 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/1.016, allocations: 9.578 kB / 1.235 GB, free: 37.96 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/1.017, allocations: 200.8 kB / 1.235 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/1.017, allocations: 0.6946 MB / 1.236 GB, free: 37.06 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.452e-05/1.017, allocations: 1.453 kB / 1.236 GB, free: 37.06 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/1.017, allocations: 16.2 kB / 1.236 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of SimCode: time 6.01e-07/1.017, allocations: 0 / 1.236 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of Templates: time 0.005924/1.023, allocations: 1.52 MB / 1.237 GB, free: 36.3 MB / 0.6355 GB