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/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.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 3.92/3.92, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.064e-05/2.075e-05, allocations: 4 kB / 0.5325 GB, free: 1.887 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5524/0.5524, allocations: 98.72 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.7524, allocations: 125.7 MB / 0.7517 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.7527, allocations: 83.95 kB / 0.7518 GB, free: 1.746 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.01241/0.7651, allocations: 2.905 MB / 0.7546 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.752e-06/0.7651, allocations: 0 / 0.7546 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.365e-06/0.7651, allocations: 4 kB / 0.7546 GB, free: 14.84 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.0005791/0.7657, allocations: 408 kB / 0.755 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.7658, allocations: 12.03 kB / 0.755 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.7658, allocations: 3.953 kB / 0.755 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.766, allocations: 174.9 kB / 0.7552 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.766, allocations: 7.984 kB / 0.7552 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.7661, allocations: 4 kB / 0.7552 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.789e-05/0.7662, allocations: 24 kB / 0.7552 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.7663, allocations: 57.66 kB / 0.7553 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.7663, allocations: 4 kB / 0.7553 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.7664, allocations: 4 kB / 0.7553 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.7664, allocations: 4 kB / 0.7553 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.7671, allocations: 293.3 kB / 0.7556 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.877e-05/0.7672, allocations: 38.58 kB / 0.7556 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.7673, allocations: 24.98 kB / 0.7556 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.7673, allocations: 3.984 kB / 0.7556 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.7674, allocations: 65.53 kB / 0.7557 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.81e-06/0.7675, allocations: 4 kB / 0.7557 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003127/0.7678, allocations: 93.48 kB / 0.7558 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.7679, allocations: 63.39 kB / 0.7559 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.768, allocations: 108.9 kB / 0.756 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.768, allocations: 29.69 kB / 0.756 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.7681, allocations: 92.23 kB / 0.7561 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.7681, allocations: 11.97 kB / 0.7561 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-06/0.7681, allocations: 0 / 0.7561 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.7683, allocations: 322.8 kB / 0.7564 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.569e-05/0.7684, allocations: 16 kB / 0.7564 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.832e-05/0.7685, allocations: 43 kB / 0.7565 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.512e-05/0.7686, allocations: 16 kB / 0.7565 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.69e-06/0.7686, allocations: 0 / 0.7565 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000243/0.7688, allocations: 93.52 kB / 0.7566 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.7689, allocations: 8 kB / 0.7566 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.454e-06/0.7689, allocations: 0 / 0.7566 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.7689, allocations: 3.938 kB / 0.7566 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.769, allocations: 20.05 kB / 0.7566 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.481e-06/0.7691, allocations: 3.938 kB / 0.7566 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.352e-05/0.7692, allocations: 15.8 kB / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.7692, allocations: 4 kB / 0.7566 GB, free: 12.58 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.0001033/0.7693, allocations: 113 kB / 0.7567 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.7693, allocations: 0 / 0.7567 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.7694, allocations: 12.62 kB / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.231e-06/0.7694, allocations: 4 kB / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.95e-06/0.7694, allocations: 0 / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.7694, allocations: 0 / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.7699, allocations: 346.9 kB / 0.7571 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-06/0.7699, allocations: 0 / 0.7571 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/0.77, allocations: 7.984 kB / 0.7571 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.735e-06/0.77, allocations: 0 / 0.7571 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.7701, allocations: 7.938 kB / 0.7571 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.101e-06/0.7701, allocations: 0 / 0.7571 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.715e-06/0.7701, allocations: 3.984 kB / 0.7571 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.7704, allocations: 187.5 kB / 0.7573 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.7705, allocations: 85.02 kB / 0.7573 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.7705, allocations: 0 / 0.7573 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.7706, allocations: 11.98 kB / 0.7574 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.7707, allocations: 4 kB / 0.7574 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.7707, allocations: 0 / 0.7574 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.853e-05/0.7708, allocations: 103.4 kB / 0.7575 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.14e-07/0.7708, allocations: 7.938 kB / 0.7575 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004174/0.7712, allocations: 40 kB / 0.7575 GB, free: 11.58 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.0004305/0.7717, allocations: 174.7 kB / 0.7577 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.7719, allocations: 59.92 kB / 0.7577 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7719, allocations: 0 / 0.7577 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.544e-05/0.772, allocations: 27.98 kB / 0.7578 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.7722, allocations: 6.438 kB / 0.7578 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.7725, allocations: 94.72 kB / 0.7579 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.7729, allocations: 0.6984 MB / 0.7585 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.242e-05/0.773, allocations: 12.25 kB / 0.7585 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.773, allocations: 11.42 kB / 0.7586 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of SimCode: time 1.334e-06/0.773, allocations: 0 / 0.7586 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of Templates: time 0.004995/0.7781, allocations: 1.497 MB / 0.76 GB, free: 8.957 MB / 0.6355 GB