Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.553/4.553, allocations: 433.2 MB / 440.7 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.194e-05/4.2e-05, allocations: 3.375 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2312, allocations: 98.74 MB / 0.6289 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3163/0.5476, allocations: 126 MB / 0.752 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004788/0.5482, allocations: 83.94 kB / 0.752 GB, free: 10.84 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.02301/0.5712, allocations: 3.153 MB / 0.7551 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5713, allocations: 0 / 0.7551 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.5713, allocations: 4 kB / 0.7551 GB, free: 7.68 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001165/0.5725, allocations: 441.7 kB / 0.7555 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.332e-05/0.5726, allocations: 12.03 kB / 0.7555 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.13e-05/0.5727, allocations: 11.86 kB / 0.7556 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.573, allocations: 174.9 kB / 0.7557 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.098e-05/0.573, allocations: 0 / 0.7557 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.555e-05/0.5731, allocations: 11.98 kB / 0.7557 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002088/0.5734, allocations: 28 kB / 0.7558 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.5737, allocations: 69.66 kB / 0.7558 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5737, allocations: 0 / 0.7558 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.5737, allocations: 0 / 0.7558 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.5738, allocations: 7.953 kB / 0.7558 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.5753, allocations: 321.2 kB / 0.7561 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.5755, allocations: 43.19 kB / 0.7562 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.5757, allocations: 36.84 kB / 0.7562 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.5757, allocations: 0 / 0.7562 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003359/0.5761, allocations: 83.36 kB / 0.7563 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 3.898e-06/0.5761, allocations: 0 / 0.7563 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0006426/0.5768, allocations: 133.8 kB / 0.7564 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.5769, allocations: 55.41 kB / 0.7565 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.5771, allocations: 113.3 kB / 0.7566 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.5771, allocations: 25.7 kB / 0.7566 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.791e-05/0.5772, allocations: 96.08 kB / 0.7567 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.5773, allocations: 23.73 kB / 0.7567 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.5773, allocations: 0 / 0.7567 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.5775, allocations: 318.8 kB / 0.757 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.5776, allocations: 23.98 kB / 0.7571 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.5778, allocations: 52.42 kB / 0.7571 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.578, allocations: 27.92 kB / 0.7571 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.578, allocations: 7.938 kB / 0.7571 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004282/0.5784, allocations: 101.5 kB / 0.7572 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.5785, allocations: 8 kB / 0.7572 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.5785, allocations: 0 / 0.7572 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.5786, allocations: 4 kB / 0.7572 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.5789, allocations: 15.98 kB / 0.7573 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.5789, allocations: 11.95 kB / 0.7573 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.5791, allocations: 15.89 kB / 0.7573 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.5791, allocations: 4 kB / 0.7573 GB, free: 5.219 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001802/0.5793, allocations: 113.1 kB / 0.7574 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005603/0.5799, allocations: 125.6 kB / 0.7575 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.58, allocations: 4 kB / 0.7575 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.483e-05/0.5801, allocations: 8.609 kB / 0.7575 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.5801, allocations: 3.953 kB / 0.7575 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.5801, allocations: 0 / 0.7575 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.5801, allocations: 3.938 kB / 0.7575 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009536/0.5811, allocations: 379 kB / 0.7579 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5812, allocations: 4 kB / 0.7579 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.5813, allocations: 4 kB / 0.7579 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.5813, allocations: 0 / 0.7579 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.5814, allocations: 11.94 kB / 0.7579 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.5814, allocations: 0 / 0.7579 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.5814, allocations: 48 / 0.7579 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.582, allocations: 227.3 kB / 0.7581 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/0.5821, allocations: 85.09 kB / 0.7582 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.5822, allocations: 4 kB / 0.7582 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.5825, allocations: 11.95 kB / 0.7582 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.5826, allocations: 3.984 kB / 0.7582 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.5826, allocations: 4 kB / 0.7582 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000113/0.5828, allocations: 99.2 kB / 0.7583 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.11e-07/0.5828, allocations: 0 / 0.7583 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008018/0.5836, allocations: 51.84 kB / 0.7584 GB, free: 4.008 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001732/0.5853, allocations: 0.8267 MB / 0.7592 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003969/0.5858, allocations: 71.98 kB / 0.7593 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5858, allocations: 0 / 0.7593 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.586, allocations: 32 kB / 0.7593 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.5864, allocations: 12.06 kB / 0.7593 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.5876, allocations: 173.7 kB / 0.7595 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.5881, allocations: 0.7001 MB / 0.7602 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.5883, allocations: 8.125 kB / 0.7602 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.5884, allocations: 23.42 kB / 0.7602 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of SimCode: time 1.473e-06/0.5884, allocations: 0 / 0.7602 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03946/0.6279, allocations: 2.506 MB / 0.7626 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003069/0.6282, allocations: 186.5 kB / 0.7628 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/3.013, allocations: 0 / 0.7628 GB, free: 15.4 MB / 0.6511 GB