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.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadModel(Buildings): time 3.954/3.954, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.315e-05/4.335e-05, allocations: 5.469 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2338, allocations: 98.73 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1984/0.4322, allocations: 126.4 MB / 0.7582 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.4325, allocations: 79.95 kB / 0.7582 GB, free: 3.254 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.01319/0.4458, allocations: 2.922 MB / 0.7611 GB, free: 336 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.006e-06/0.4458, allocations: 0 / 0.7611 GB, free: 336 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.4458, allocations: 0 / 0.7611 GB, free: 336 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.0006198/0.4465, allocations: 416 kB / 0.7615 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4465, allocations: 8.031 kB / 0.7615 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.4466, allocations: 11.86 kB / 0.7615 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.4467, allocations: 178.8 kB / 0.7617 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.4468, allocations: 4 kB / 0.7617 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.4468, allocations: 4 kB / 0.7617 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.447, allocations: 69.64 kB / 0.7618 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.852e-06/0.447, allocations: 0 / 0.7618 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.447, allocations: 4 kB / 0.7618 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-06/0.447, allocations: 0 / 0.7618 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.07e-05/0.4471, allocations: 24 kB / 0.7618 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007323/0.4479, allocations: 312.7 kB / 0.7621 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.448, allocations: 42.58 kB / 0.7621 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.436e-05/0.4481, allocations: 28.97 kB / 0.7621 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.4481, allocations: 0 / 0.7621 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.4484, allocations: 75.45 kB / 0.7622 GB, free: 15 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.435e-06/0.4484, allocations: 3.938 kB / 0.7622 GB, free: 15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003034/0.4487, allocations: 101.5 kB / 0.7623 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.4487, allocations: 55.41 kB / 0.7624 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.4489, allocations: 113 kB / 0.7625 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.4489, allocations: 29.7 kB / 0.7625 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.449, allocations: 88.33 kB / 0.7626 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.449, allocations: 19.73 kB / 0.7626 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.4491, allocations: 4 kB / 0.7626 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.4492, allocations: 314.8 kB / 0.7629 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.4493, allocations: 16 kB / 0.7629 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.643e-05/0.4494, allocations: 42.56 kB / 0.763 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.42e-05/0.4495, allocations: 31.92 kB / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.4495, allocations: 0 / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002444/0.4498, allocations: 101.5 kB / 0.7631 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4498, allocations: 4 kB / 0.7631 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4498, allocations: 0 / 0.7631 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4499, allocations: 3.938 kB / 0.7631 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.45, allocations: 19.98 kB / 0.7631 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.291e-06/0.45, allocations: 8.016 kB / 0.7631 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-05/0.4501, allocations: 7.984 kB / 0.7631 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.4502, allocations: 8 kB / 0.7631 GB, free: 13.99 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.000102/0.4503, allocations: 105 kB / 0.7632 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.4503, allocations: 7.906 kB / 0.7633 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.4504, allocations: 8.625 kB / 0.7633 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-06/0.4504, allocations: 0 / 0.7633 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4504, allocations: 8 kB / 0.7633 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.4504, allocations: 7.938 kB / 0.7633 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.451, allocations: 366.3 kB / 0.7636 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.754e-06/0.451, allocations: 0 / 0.7636 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.48e-05/0.4511, allocations: 7.984 kB / 0.7636 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.571e-06/0.4511, allocations: 0 / 0.7636 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.4511, allocations: 8 kB / 0.7636 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.661e-06/0.4511, allocations: 3.953 kB / 0.7636 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.779e-06/0.4511, allocations: 0 / 0.7636 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.4514, allocations: 199.7 kB / 0.7638 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.4515, allocations: 81.02 kB / 0.7639 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.4515, allocations: 0 / 0.7639 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.4517, allocations: 4 kB / 0.7639 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.4517, allocations: 15.92 kB / 0.7639 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.4518, allocations: 4 kB / 0.7639 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.725e-05/0.4518, allocations: 91.27 kB / 0.764 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.25e-07/0.4519, allocations: 4 kB / 0.764 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004462/0.4523, allocations: 51.88 kB / 0.7641 GB, free: 12.93 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.0004296/0.4528, allocations: 173.7 kB / 0.7642 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.453, allocations: 52 kB / 0.7643 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.688e-06/0.453, allocations: 8.062 kB / 0.7643 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.4531, allocations: 35.91 kB / 0.7643 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.4533, allocations: 10.06 kB / 0.7643 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.4537, allocations: 101.5 kB / 0.7644 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.4541, allocations: 0.6908 MB / 0.7651 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.59e-05/0.4542, allocations: 4.188 kB / 0.7651 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.4542, allocations: 15.44 kB / 0.7651 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.415e-06/0.4542, allocations: 0 / 0.7651 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of Templates: time 0.005204/0.4594, allocations: 1.54 MB / 0.7666 GB, free: 10.26 MB / 0.6511 GB