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.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadModel(Buildings): time 3.906/3.906, allocations: 433.3 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.076e-05/2.097e-05, allocations: 4 kB / 0.5325 GB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.539/0.5391, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1984/0.7375, allocations: 125.7 MB / 0.7517 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.7379, allocations: 79.95 kB / 0.7518 GB, free: 1.727 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.01276/0.7506, allocations: 2.909 MB / 0.7546 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.704e-06/0.7507, allocations: 0 / 0.7546 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7e-06/0.7507, allocations: 0 / 0.7546 GB, free: 14.81 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.0006061/0.7513, allocations: 412 kB / 0.755 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.7514, allocations: 11.97 kB / 0.755 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.7514, allocations: 7.953 kB / 0.755 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.7516, allocations: 182.8 kB / 0.7552 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.7516, allocations: 4 kB / 0.7552 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.7516, allocations: 0 / 0.7552 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.672e-05/0.7518, allocations: 20 kB / 0.7552 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.7519, allocations: 61.66 kB / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.075e-06/0.7519, allocations: 0 / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.752, allocations: 0 / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-06/0.752, allocations: 0 / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.7527, allocations: 297.3 kB / 0.7556 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.7528, allocations: 38.58 kB / 0.7556 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/0.7529, allocations: 24.97 kB / 0.7556 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.7529, allocations: 0 / 0.7556 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.7531, allocations: 77.52 kB / 0.7557 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.391e-06/0.7531, allocations: 0 / 0.7557 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003144/0.7534, allocations: 97.53 kB / 0.7558 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.7535, allocations: 59.41 kB / 0.7559 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.7536, allocations: 109 kB / 0.756 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.7536, allocations: 25.7 kB / 0.756 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.7537, allocations: 96.17 kB / 0.7561 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.7537, allocations: 11.91 kB / 0.7561 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-06/0.7538, allocations: 0 / 0.7561 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.7539, allocations: 322.8 kB / 0.7564 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.647e-05/0.754, allocations: 16 kB / 0.7564 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-05/0.7541, allocations: 38.56 kB / 0.7565 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.938e-05/0.7542, allocations: 20 kB / 0.7565 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.857e-06/0.7542, allocations: 0 / 0.7565 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000241/0.7544, allocations: 89.58 kB / 0.7566 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.7545, allocations: 8.938 kB / 0.7566 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.413e-06/0.7545, allocations: 4 kB / 0.7566 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.7545, allocations: 0 / 0.7566 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.7547, allocations: 15.98 kB / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.783e-06/0.7547, allocations: 4 kB / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.952e-05/0.7548, allocations: 15.8 kB / 0.7566 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.7548, allocations: 7.938 kB / 0.7566 GB, free: 12.56 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.000106/0.7549, allocations: 113.6 kB / 0.7567 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.755, allocations: 4 kB / 0.7567 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.755, allocations: 8.625 kB / 0.7567 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.755, allocations: 4 kB / 0.7567 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.819e-06/0.755, allocations: 0 / 0.7567 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.7551, allocations: 0 / 0.7567 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.7556, allocations: 346.8 kB / 0.7571 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.153e-06/0.7556, allocations: 0 / 0.7571 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.882e-05/0.7556, allocations: 4 kB / 0.7571 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.736e-06/0.7557, allocations: 8 kB / 0.7571 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.7557, allocations: 3.984 kB / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.39e-06/0.7557, allocations: 0 / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.923e-06/0.7557, allocations: 0 / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.756, allocations: 191.5 kB / 0.7573 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.7561, allocations: 85.02 kB / 0.7573 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.7561, allocations: 3.938 kB / 0.7573 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.7563, allocations: 11.98 kB / 0.7574 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.7563, allocations: 4 kB / 0.7574 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.7564, allocations: 7.984 kB / 0.7574 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.882e-05/0.7565, allocations: 91.23 kB / 0.7575 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.49e-07/0.7565, allocations: 0 / 0.7575 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004354/0.7569, allocations: 47.97 kB / 0.7575 GB, free: 11.55 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.0004423/0.7574, allocations: 183.7 kB / 0.7577 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001789/0.7576, allocations: 51.92 kB / 0.7577 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.642e-06/0.7576, allocations: 3.938 kB / 0.7577 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.829e-05/0.7577, allocations: 27.98 kB / 0.7578 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.7579, allocations: 6.438 kB / 0.7578 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.7582, allocations: 100.7 kB / 0.7579 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.7586, allocations: 0.6924 MB / 0.7585 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.711e-05/0.7587, allocations: 8.172 kB / 0.7585 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.7588, allocations: 15.42 kB / 0.7586 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of SimCode: time 1.413e-06/0.7588, allocations: 0 / 0.7586 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.00514/0.7639, allocations: 1.495 MB / 0.76 GB, free: 8.934 MB / 0.6355 GB