Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadModel(Buildings): time 4.13/4.13, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.767e-05, allocations: 4.891 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1768, allocations: 98.73 MB / 0.6347 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.3719, allocations: 126.7 MB / 0.7585 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.3722, allocations: 75.95 kB / 0.7585 GB, free: 2.949 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.0146/0.3868, allocations: 3.187 MB / 0.7617 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.816e-06/0.3868, allocations: 0 / 0.7617 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.028e-06/0.3869, allocations: 0 / 0.7617 GB, free: 15.76 MB / 0.6511 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.0006952/0.3876, allocations: 453.6 kB / 0.7621 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3876, allocations: 15.97 kB / 0.7621 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.3877, allocations: 11.86 kB / 0.7621 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.3879, allocations: 167.1 kB / 0.7623 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.3879, allocations: 4 kB / 0.7623 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.388, allocations: 8 kB / 0.7623 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.3882, allocations: 81.58 kB / 0.7624 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.818e-06/0.3882, allocations: 0 / 0.7624 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.3882, allocations: 0 / 0.7624 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3883, allocations: 0 / 0.7624 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3884, allocations: 32 kB / 0.7624 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000922/0.3893, allocations: 348.6 kB / 0.7627 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.3895, allocations: 50.56 kB / 0.7628 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.3896, allocations: 36.86 kB / 0.7628 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.3896, allocations: 0 / 0.7628 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.3898, allocations: 95.41 kB / 0.7629 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.789e-06/0.3899, allocations: 0 / 0.7629 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0003958/0.3903, allocations: 129.6 kB / 0.763 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.3903, allocations: 59.39 kB / 0.7631 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.3905, allocations: 112.9 kB / 0.7632 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.3905, allocations: 33.69 kB / 0.7632 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.3906, allocations: 92.08 kB / 0.7633 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.3906, allocations: 15.81 kB / 0.7633 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.3907, allocations: 4 kB / 0.7633 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3908, allocations: 322.8 kB / 0.7636 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-05/0.3909, allocations: 24 kB / 0.7637 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.3911, allocations: 56.78 kB / 0.7637 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.648e-05/0.3912, allocations: 31.98 kB / 0.7637 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.692e-06/0.3912, allocations: 4 kB / 0.7638 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00029/0.3915, allocations: 113.5 kB / 0.7639 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3915, allocations: 4 kB / 0.7639 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.107e-06/0.3916, allocations: 4 kB / 0.7639 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3916, allocations: 0 / 0.7639 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.3918, allocations: 19.92 kB / 0.7639 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.3918, allocations: 7.953 kB / 0.7639 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.3919, allocations: 15.98 kB / 0.7639 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.3919, allocations: 8 kB / 0.7639 GB, free: 13.2 MB / 0.6511 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 () * 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.0001099/0.3921, allocations: 112.9 kB / 0.764 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.3921, allocations: 4 kB / 0.764 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.3921, allocations: 8.625 kB / 0.764 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.328e-06/0.3922, allocations: 4 kB / 0.764 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3922, allocations: 0 / 0.764 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.887e-06/0.3922, allocations: 7.938 kB / 0.764 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006753/0.3929, allocations: 414.3 kB / 0.7644 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.248e-06/0.3929, allocations: 0 / 0.7644 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.714e-05/0.393, allocations: 7.984 kB / 0.7644 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.257e-06/0.393, allocations: 4.031 kB / 0.7645 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.393, allocations: 0 / 0.7645 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.3931, allocations: 3.953 kB / 0.7645 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3931, allocations: 4 kB / 0.7645 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.3935, allocations: 235.3 kB / 0.7647 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.3935, allocations: 85.02 kB / 0.7648 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.3936, allocations: 0 / 0.7648 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.3938, allocations: 7.984 kB / 0.7648 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.3938, allocations: 11.95 kB / 0.7648 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.3938, allocations: 7.984 kB / 0.7648 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.901e-05/0.3939, allocations: 91.28 kB / 0.7649 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.7e-07/0.394, allocations: 3.938 kB / 0.7649 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004581/0.3944, allocations: 51.98 kB / 0.7649 GB, free: 12.05 MB / 0.6511 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) * 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.0004464/0.3949, allocations: 183.6 kB / 0.7651 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.3951, allocations: 71.92 kB / 0.7652 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.713e-06/0.3952, allocations: 0 / 0.7652 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.3953, allocations: 40.41 kB / 0.7652 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.3955, allocations: 14.23 kB / 0.7652 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.3959, allocations: 117.3 kB / 0.7653 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.3963, allocations: 0.6965 MB / 0.766 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.551e-05/0.3964, allocations: 0 / 0.766 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.3964, allocations: 15.44 kB / 0.766 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of SimCode: time 1.617e-06/0.3965, allocations: 0 / 0.766 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of Templates: time 0.005974/0.4024, allocations: 1.804 MB / 0.7678 GB, free: 9.082 MB / 0.6511 GB