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.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadModel(Buildings): time 4.44/4.44, allocations: 432.7 MB / 445.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.933e-05, allocations: 2.719 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1974, allocations: 98.72 MB / 0.6347 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.196/0.3934, allocations: 126.4 MB / 0.7582 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.3937, allocations: 87.94 kB / 0.7582 GB, free: 3.301 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.01321/0.407, allocations: 2.923 MB / 0.7611 GB, free: 384 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.974e-06/0.407, allocations: 0 / 0.7611 GB, free: 384 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.407, allocations: 0 / 0.7611 GB, free: 384 kB / 0.6355 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.0006837/0.4077, allocations: 412 kB / 0.7615 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.4078, allocations: 8.031 kB / 0.7615 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.4078, allocations: 19.8 kB / 0.7615 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.408, allocations: 174.9 kB / 0.7617 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.4081, allocations: 8 kB / 0.7617 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.4081, allocations: 4 kB / 0.7617 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.4083, allocations: 57.66 kB / 0.7617 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4083, allocations: 7.984 kB / 0.7618 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.4083, allocations: 0 / 0.7618 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-06/0.4083, allocations: 0 / 0.7618 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.07e-05/0.4084, allocations: 24 kB / 0.7618 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007239/0.4092, allocations: 316.7 kB / 0.7621 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.4093, allocations: 46.56 kB / 0.7621 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/0.4094, allocations: 24.98 kB / 0.7621 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.4094, allocations: 80 / 0.7621 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.4096, allocations: 75.38 kB / 0.7622 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 6.129e-06/0.4096, allocations: 0 / 0.7622 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003131/0.41, allocations: 109.4 kB / 0.7623 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.41, allocations: 55.41 kB / 0.7624 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.4101, allocations: 109 kB / 0.7625 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.4102, allocations: 25.7 kB / 0.7625 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/0.4103, allocations: 88.33 kB / 0.7626 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.4103, allocations: 27.72 kB / 0.7626 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.901e-06/0.4103, allocations: 4 kB / 0.7626 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.4105, allocations: 314.8 kB / 0.7629 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.4106, allocations: 20 kB / 0.7629 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-05/0.4107, allocations: 42.56 kB / 0.763 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.16e-05/0.4108, allocations: 19.98 kB / 0.763 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.829e-06/0.4108, allocations: 3.938 kB / 0.763 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002488/0.4111, allocations: 101.5 kB / 0.7631 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4111, allocations: 8 kB / 0.7631 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.195e-06/0.4111, allocations: 160 / 0.7631 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.4111, allocations: 3.984 kB / 0.7631 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.4113, allocations: 12 kB / 0.7631 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.4113, allocations: 7.938 kB / 0.7631 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.508e-05/0.4114, allocations: 7.984 kB / 0.7631 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.4115, allocations: 4 kB / 0.7631 GB, free: 14.04 MB / 0.6511 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 () * 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.0001058/0.4116, allocations: 113 kB / 0.7632 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.4116, allocations: 7.906 kB / 0.7633 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.4117, allocations: 12.56 kB / 0.7633 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.4117, allocations: 0 / 0.7633 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4117, allocations: 3.984 kB / 0.7633 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.471e-06/0.4117, allocations: 3.953 kB / 0.7633 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.4123, allocations: 362.5 kB / 0.7636 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.827e-06/0.4123, allocations: 7.875 kB / 0.7636 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/0.4124, allocations: 11.98 kB / 0.7636 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.4124, allocations: 0 / 0.7636 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.4124, allocations: 0 / 0.7636 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.077e-06/0.4124, allocations: 3.953 kB / 0.7636 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.01e-06/0.4124, allocations: 7.938 kB / 0.7637 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.4127, allocations: 187.5 kB / 0.7638 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.4128, allocations: 85.02 kB / 0.7639 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.4128, allocations: 0 / 0.7639 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.413, allocations: 19.98 kB / 0.7639 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.4131, allocations: 7.953 kB / 0.7639 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.4131, allocations: 0 / 0.7639 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.391e-05/0.4132, allocations: 99.86 kB / 0.764 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.7e-07/0.4132, allocations: 0 / 0.764 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004521/0.4136, allocations: 51.88 kB / 0.7641 GB, free: 12.97 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete 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.0004538/0.4141, allocations: 174.8 kB / 0.7642 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.4143, allocations: 51.98 kB / 0.7643 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4144, allocations: 0 / 0.7643 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.108e-05/0.4145, allocations: 31.92 kB / 0.7643 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.4147, allocations: 12 kB / 0.7643 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.4151, allocations: 105.6 kB / 0.7644 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.4155, allocations: 0.6887 MB / 0.7651 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.306e-05/0.4155, allocations: 4.188 kB / 0.7651 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.4156, allocations: 15.42 kB / 0.7651 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of SimCode: time 1.513e-06/0.4156, allocations: 0 / 0.7651 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of Templates: time 0.005534/0.4211, allocations: 1.54 MB / 0.7666 GB, free: 10.31 MB / 0.6511 GB