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.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004175/0.004181, allocations: 232.8 kB / 15.82 MB, free: 6.297 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.00115/0.00115, allocations: 174.7 kB / 16.7 MB, free: 5.457 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 4.09/4.09, allocations: 389.1 MB / 406.5 MB, free: 11.83 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 3.947/3.947, allocations: 472.3 MB / 0.9024 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004952, allocations: 19.31 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1708, allocations: 98.72 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7544/0.9252, allocations: 126.9 MB / 1.229 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004599/0.9258, allocations: 87.92 kB / 1.229 GB, free: 26.74 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.02198/0.9478, allocations: 3.747 MB / 1.232 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9478, allocations: 0 / 1.232 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.9478, allocations: 4 kB / 1.232 GB, free: 24.59 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008662/0.9487, allocations: 0.5389 MB / 1.233 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.9488, allocations: 12.03 kB / 1.233 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.094e-05/0.9488, allocations: 7.906 kB / 1.233 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.949, allocations: 188.1 kB / 1.233 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.949, allocations: 3.438 kB / 1.233 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.949, allocations: 9.625 kB / 1.233 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.9498, allocations: 148.5 kB / 1.233 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.9498, allocations: 4.594 kB / 1.233 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.9499, allocations: 3.938 kB / 1.233 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.9499, allocations: 2.719 kB / 1.233 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007147/0.9506, allocations: 130.1 kB / 1.233 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.952, allocations: 414.8 kB / 1.234 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.9527, allocations: 117.5 kB / 1.234 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005415/0.9532, allocations: 99.59 kB / 1.234 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.9533, allocations: 3.984 kB / 1.234 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006797/0.954, allocations: 164.7 kB / 1.234 GB, free: 23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 3.056e-06/0.954, allocations: 3.5 kB / 1.234 GB, free: 23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001849/0.9558, allocations: 350.6 kB / 1.234 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.9559, allocations: 58.06 kB / 1.235 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.9561, allocations: 146 kB / 1.235 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.9561, allocations: 29.7 kB / 1.235 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.9562, allocations: 98.03 kB / 1.235 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.9562, allocations: 26.53 kB / 1.235 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.9563, allocations: 5.094 kB / 1.235 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.9564, allocations: 322.8 kB / 1.235 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.9567, allocations: 55.5 kB / 1.235 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.9569, allocations: 80.66 kB / 1.235 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.9572, allocations: 59.03 kB / 1.235 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9572, allocations: 0 / 1.235 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005943/0.9578, allocations: 172.4 kB / 1.235 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.9578, allocations: 10.67 kB / 1.235 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.9578, allocations: 4 kB / 1.235 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.9579, allocations: 0 / 1.235 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.9581, allocations: 21.48 kB / 1.236 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.9581, allocations: 4 kB / 1.236 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.9583, allocations: 24.42 kB / 1.236 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.9583, allocations: 4 kB / 1.236 GB, free: 21.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$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.0001722/0.9585, allocations: 123.7 kB / 1.236 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.9586, allocations: 10.45 kB / 1.236 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.9586, allocations: 23.2 kB / 1.236 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.9586, allocations: 0 / 1.236 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.9587, allocations: 4 kB / 1.236 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.9587, allocations: 2.906 kB / 1.236 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.9602, allocations: 0.5436 MB / 1.236 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.9603, allocations: 0 / 1.236 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.9604, allocations: 22.27 kB / 1.236 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.9605, allocations: 7.906 kB / 1.236 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.9605, allocations: 2.578 kB / 1.236 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.9605, allocations: 2.875 kB / 1.236 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.9605, allocations: 3.281 kB / 1.236 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.9618, allocations: 360.9 kB / 1.237 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.9619, allocations: 88.86 kB / 1.237 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.962, allocations: 13.86 kB / 1.237 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.9623, allocations: 25.03 kB / 1.237 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.9624, allocations: 13.52 kB / 1.237 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.9624, allocations: 6.578 kB / 1.237 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004921/0.9629, allocations: 111.9 kB / 1.237 GB, free: 36.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/0.963, allocations: 1.562 kB / 1.237 GB, free: 36.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005273/0.9635, allocations: 58.59 kB / 1.237 GB, free: 36.63 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0004475/0.964, allocations: 177.3 kB / 1.237 GB, free: 36.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008547/0.9648, allocations: 161 kB / 1.237 GB, free: 36.38 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.9648, allocations: 0 / 1.237 GB, free: 36.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005521/0.9654, allocations: 113.2 kB / 1.237 GB, free: 36.31 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.9658, allocations: 13.47 kB / 1.237 GB, free: 36.31 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009374/0.9668, allocations: 299.9 kB / 1.238 GB, free: 36.06 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.9671, allocations: 0.7017 MB / 1.238 GB, free: 35.35 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.86e-05/0.9672, allocations: 8.609 kB / 1.238 GB, free: 35.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.9672, allocations: 19.33 kB / 1.238 GB, free: 35.34 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/0.9673, allocations: 4 kB / 1.238 GB, free: 35.33 MB / 0.6355 GB Notification: Performance of Templates: time 0.01089/0.9782, allocations: 1.993 MB / 1.24 GB, free: 34.23 MB / 0.6355 GB