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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.918/3.918, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.937e-05/1.947e-05, allocations: 0 / 0.5325 GB, free: 1.875 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5498/0.5498, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1919/0.7417, allocations: 125.7 MB / 0.7517 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.742, allocations: 79.95 kB / 0.7518 GB, free: 1.711 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.0124/0.7544, allocations: 2.913 MB / 0.7546 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7545, allocations: 0 / 0.7546 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.262e-06/0.7545, allocations: 0 / 0.7546 GB, free: 14.79 MB / 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.0005972/0.7551, allocations: 412 kB / 0.755 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.7551, allocations: 8.031 kB / 0.755 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.7552, allocations: 7.953 kB / 0.755 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.7554, allocations: 174.9 kB / 0.7552 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.7554, allocations: 7.984 kB / 0.7552 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.7554, allocations: 4 kB / 0.7552 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.857e-05/0.7556, allocations: 20 kB / 0.7552 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.7557, allocations: 57.67 kB / 0.7553 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.803e-06/0.7557, allocations: 0 / 0.7553 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.7558, allocations: 0 / 0.7553 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-06/0.7558, allocations: 0 / 0.7553 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006607/0.7564, allocations: 297.3 kB / 0.7556 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.7566, allocations: 34.58 kB / 0.7556 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.545e-05/0.7566, allocations: 24.98 kB / 0.7556 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.7567, allocations: 3.984 kB / 0.7556 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.7568, allocations: 73.59 kB / 0.7557 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.705e-06/0.7569, allocations: 4 kB / 0.7557 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003142/0.7572, allocations: 97.48 kB / 0.7558 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.7572, allocations: 55.39 kB / 0.7559 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.7574, allocations: 108.9 kB / 0.756 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.7574, allocations: 33.69 kB / 0.756 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.7575, allocations: 88.23 kB / 0.7561 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.7575, allocations: 11.91 kB / 0.7561 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-06/0.7575, allocations: 0 / 0.7561 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.7577, allocations: 322.8 kB / 0.7564 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.676e-05/0.7578, allocations: 16 kB / 0.7564 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.492e-05/0.7579, allocations: 39 kB / 0.7564 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.13e-05/0.758, allocations: 24.06 kB / 0.7565 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.561e-06/0.758, allocations: 0 / 0.7565 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002443/0.7582, allocations: 93.5 kB / 0.7566 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.7583, allocations: 8 kB / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.181e-06/0.7583, allocations: 8 kB / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.7583, allocations: 0 / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.7584, allocations: 11.98 kB / 0.7566 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.595e-06/0.7584, allocations: 7.938 kB / 0.7566 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.937e-05/0.7586, allocations: 15.8 kB / 0.7566 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.7586, allocations: 12 kB / 0.7566 GB, free: 12.54 MB / 0.6355 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.0001102/0.7587, allocations: 109 kB / 0.7567 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.7588, allocations: 8 kB / 0.7567 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.7588, allocations: 12.62 kB / 0.7567 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.421e-06/0.7588, allocations: 0 / 0.7567 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.698e-06/0.7588, allocations: 0 / 0.7567 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.729e-06/0.7588, allocations: 0 / 0.7567 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.7593, allocations: 342.9 kB / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3e-06/0.7594, allocations: 0 / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.149e-05/0.7594, allocations: 4 kB / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.228e-06/0.7595, allocations: 4 kB / 0.7571 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.7595, allocations: 4 kB / 0.7571 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.592e-06/0.7595, allocations: 3.984 kB / 0.7571 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.856e-06/0.7595, allocations: 0 / 0.7571 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.7598, allocations: 191.4 kB / 0.7573 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.7599, allocations: 85.02 kB / 0.7573 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.7599, allocations: 0 / 0.7573 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.76, allocations: 7.984 kB / 0.7574 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.7601, allocations: 8 kB / 0.7574 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.7601, allocations: 3.984 kB / 0.7574 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.582e-05/0.7602, allocations: 99.39 kB / 0.7575 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.98e-07/0.7602, allocations: 3.938 kB / 0.7575 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004187/0.7607, allocations: 40 kB / 0.7575 GB, free: 11.54 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: 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.000433/0.7611, allocations: 178.6 kB / 0.7577 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.7613, allocations: 51.94 kB / 0.7577 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7613, allocations: 0 / 0.7577 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.696e-05/0.7614, allocations: 28.38 kB / 0.7578 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.7616, allocations: 6.062 kB / 0.7578 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.762, allocations: 92.53 kB / 0.7578 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.7623, allocations: 0.6964 MB / 0.7585 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.032e-05/0.7624, allocations: 4.344 kB / 0.7585 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.7624, allocations: 19.42 kB / 0.7585 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of SimCode: time 3.46e-06/0.7625, allocations: 0 / 0.7585 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of Templates: time 0.005017/0.7675, allocations: 1.503 MB / 0.76 GB, free: 8.918 MB / 0.6355 GB