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.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadModel(Buildings): time 4.131/4.131, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.18e-05/4.202e-05, allocations: 5.188 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2386, allocations: 98.73 MB / 0.6347 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2172/0.4559, allocations: 126.4 MB / 0.7582 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.4563, allocations: 79.95 kB / 0.7582 GB, free: 3.277 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.01297/0.4692, allocations: 2.931 MB / 0.7611 GB, free: 352 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.106e-06/0.4693, allocations: 0 / 0.7611 GB, free: 352 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.473e-06/0.4693, allocations: 0 / 0.7611 GB, free: 352 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.0006233/0.4699, allocations: 412 kB / 0.7615 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.47, allocations: 8.031 kB / 0.7615 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.47, allocations: 11.86 kB / 0.7615 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.4702, allocations: 178.9 kB / 0.7617 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.4702, allocations: 4 kB / 0.7617 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.4703, allocations: 8 kB / 0.7617 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.4705, allocations: 53.67 kB / 0.7617 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.585e-06/0.4705, allocations: 0 / 0.7617 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.4705, allocations: 4 kB / 0.7617 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.435e-06/0.4705, allocations: 0 / 0.7617 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.795e-05/0.4706, allocations: 27.98 kB / 0.7618 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.4714, allocations: 316.7 kB / 0.7621 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.4715, allocations: 46.56 kB / 0.7621 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.207e-05/0.4716, allocations: 28.98 kB / 0.7621 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.4716, allocations: 0 / 0.7621 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.4718, allocations: 67.39 kB / 0.7622 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.53e-06/0.4718, allocations: 3.938 kB / 0.7622 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003146/0.4721, allocations: 105.5 kB / 0.7623 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.4722, allocations: 55.41 kB / 0.7624 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.4723, allocations: 109 kB / 0.7625 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.4724, allocations: 33.7 kB / 0.7625 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/0.4725, allocations: 92.31 kB / 0.7626 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.4725, allocations: 19.75 kB / 0.7626 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-06/0.4726, allocations: 0 / 0.7626 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4727, allocations: 318.8 kB / 0.7629 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.471e-05/0.4728, allocations: 20 kB / 0.7629 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.571e-05/0.4729, allocations: 38.58 kB / 0.763 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.168e-05/0.473, allocations: 23.98 kB / 0.763 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.914e-06/0.473, allocations: 0 / 0.763 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002482/0.4733, allocations: 101.5 kB / 0.7631 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.4733, allocations: 8 kB / 0.7631 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.713e-06/0.4733, allocations: 3.938 kB / 0.7631 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4733, allocations: 0 / 0.7631 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.4735, allocations: 15.98 kB / 0.7631 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.4735, allocations: 7.953 kB / 0.7631 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.874e-05/0.4736, allocations: 8.062 kB / 0.7631 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.4736, allocations: 4 kB / 0.7631 GB, free: 14.02 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.0001051/0.4738, allocations: 112.9 kB / 0.7632 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.4738, allocations: 3.906 kB / 0.7632 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.4738, allocations: 16.61 kB / 0.7633 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.756e-06/0.4739, allocations: 0 / 0.7633 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.42e-06/0.4739, allocations: 0 / 0.7633 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.4739, allocations: 15.88 kB / 0.7633 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.4745, allocations: 374.4 kB / 0.7636 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.908e-06/0.4745, allocations: 0 / 0.7636 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.4746, allocations: 4 kB / 0.7636 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.448e-06/0.4746, allocations: 0 / 0.7636 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.4746, allocations: 3.984 kB / 0.7636 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.926e-06/0.4746, allocations: 3.953 kB / 0.7636 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.54e-06/0.4746, allocations: 0 / 0.7636 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.4749, allocations: 195.5 kB / 0.7638 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.475, allocations: 85.02 kB / 0.7639 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.475, allocations: 0 / 0.7639 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.4752, allocations: 7.984 kB / 0.7639 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.4752, allocations: 11.95 kB / 0.7639 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.4753, allocations: 3.984 kB / 0.7639 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.648e-05/0.4754, allocations: 95.88 kB / 0.764 GB, free: 13 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.91e-07/0.4754, allocations: 0 / 0.764 GB, free: 13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004349/0.4758, allocations: 59.86 kB / 0.7641 GB, free: 12.94 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.000419/0.4762, allocations: 165.3 kB / 0.7642 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.4765, allocations: 55.98 kB / 0.7643 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.958e-06/0.4765, allocations: 0 / 0.7643 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.4766, allocations: 32.06 kB / 0.7643 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.4768, allocations: 12 kB / 0.7643 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.4772, allocations: 107.5 kB / 0.7644 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.4776, allocations: 0.6909 MB / 0.7651 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.692e-05/0.4777, allocations: 8.172 kB / 0.7651 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.4777, allocations: 15.38 kB / 0.7651 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of SimCode: time 1.487e-06/0.4777, allocations: 4 kB / 0.7651 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of Templates: time 0.005356/0.4831, allocations: 1.531 MB / 0.7666 GB, free: 10.28 MB / 0.6511 GB