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.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadModel(Buildings): time 3.762/3.762, allocations: 433.4 MB / 440.9 MB, free: 4.516 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.856e-05, allocations: 3.906 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1941, allocations: 98.73 MB / 0.6289 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2036/0.3978, allocations: 125.7 MB / 0.7517 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.3981, allocations: 79.95 kB / 0.7518 GB, free: 11.14 MB / 0.6355 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.01266/0.4107, allocations: 2.92 MB / 0.7546 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.15e-06/0.4108, allocations: 0 / 0.7546 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.477e-06/0.4108, allocations: 0 / 0.7546 GB, free: 8.211 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.0005833/0.4114, allocations: 404.1 kB / 0.755 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4114, allocations: 15.95 kB / 0.755 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.4115, allocations: 11.86 kB / 0.755 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.4117, allocations: 186.8 kB / 0.7552 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.4117, allocations: 0 / 0.7552 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.4117, allocations: 4 kB / 0.7552 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.564e-05/0.4118, allocations: 24 kB / 0.7553 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.412, allocations: 57.67 kB / 0.7553 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.279e-06/0.412, allocations: 0 / 0.7553 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.412, allocations: 0 / 0.7553 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.4121, allocations: 3.953 kB / 0.7553 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.4127, allocations: 293.3 kB / 0.7556 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.4129, allocations: 38.58 kB / 0.7556 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.372e-05/0.4129, allocations: 24.97 kB / 0.7556 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.413, allocations: 4 kB / 0.7557 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.4131, allocations: 72 kB / 0.7557 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.541e-06/0.4131, allocations: 0 / 0.7557 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003142/0.4135, allocations: 101.5 kB / 0.7558 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.4135, allocations: 51.41 kB / 0.7559 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.4136, allocations: 109 kB / 0.756 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.4137, allocations: 25.7 kB / 0.756 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/0.4138, allocations: 88.33 kB / 0.7561 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.4138, allocations: 19.88 kB / 0.7561 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.4138, allocations: 0 / 0.7561 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.414, allocations: 322.8 kB / 0.7564 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-05/0.4141, allocations: 16 kB / 0.7564 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.792e-05/0.4142, allocations: 42.5 kB / 0.7565 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.932e-05/0.4143, allocations: 20 kB / 0.7565 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4143, allocations: 0 / 0.7565 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000257/0.4145, allocations: 93.64 kB / 0.7566 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.4146, allocations: 8 kB / 0.7566 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.665e-06/0.4146, allocations: 0 / 0.7566 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.4146, allocations: 4 kB / 0.7566 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.4147, allocations: 11.98 kB / 0.7566 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4148, allocations: 7.891 kB / 0.7566 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.245e-05/0.4149, allocations: 11.94 kB / 0.7566 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.4149, allocations: 7.984 kB / 0.7566 GB, free: 5.953 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.0001017/0.415, allocations: 109 kB / 0.7567 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.415, allocations: 7.906 kB / 0.7567 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.4151, allocations: 8.625 kB / 0.7567 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.749e-06/0.4151, allocations: 4 kB / 0.7567 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.4151, allocations: 0 / 0.7567 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4151, allocations: 7.891 kB / 0.7568 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004905/0.4156, allocations: 339 kB / 0.7571 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.838e-06/0.4157, allocations: 0 / 0.7571 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.4157, allocations: 4 kB / 0.7571 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.078e-06/0.4157, allocations: 7.984 kB / 0.7571 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.4158, allocations: 7.984 kB / 0.7571 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.341e-06/0.4158, allocations: 0 / 0.7571 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.4158, allocations: 3.953 kB / 0.7571 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.4161, allocations: 183.5 kB / 0.7573 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.4162, allocations: 81.02 kB / 0.7573 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.4162, allocations: 4 kB / 0.7574 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.4163, allocations: 11.98 kB / 0.7574 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.4164, allocations: 0 / 0.7574 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.4164, allocations: 11.94 kB / 0.7574 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.203e-05/0.4165, allocations: 95.22 kB / 0.7575 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.04e-06/0.4165, allocations: 0 / 0.7575 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004226/0.417, allocations: 47.92 kB / 0.7575 GB, free: 4.949 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.0004378/0.4174, allocations: 179.3 kB / 0.7577 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.4176, allocations: 59.86 kB / 0.7577 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4176, allocations: 0 / 0.7577 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.918e-05/0.4177, allocations: 27.98 kB / 0.7578 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.4179, allocations: 4 kB / 0.7578 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.4183, allocations: 98.84 kB / 0.7579 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.4187, allocations: 0.6924 MB / 0.7585 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.949e-05/0.4188, allocations: 4.188 kB / 0.7585 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.4188, allocations: 15.42 kB / 0.7586 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of SimCode: time 1.503e-06/0.4188, allocations: 0 / 0.7586 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of Templates: time 0.005091/0.4239, allocations: 1.5 MB / 0.76 GB, free: 2.328 MB / 0.6355 GB