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.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.347/4.347, allocations: 433.2 MB / 440.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.014e-05/3.031e-05, allocations: 8.312 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.245, allocations: 98.73 MB / 0.6289 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2423/0.4873, allocations: 126 MB / 0.752 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/0.4877, allocations: 83.89 kB / 0.7521 GB, free: 10.87 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.01866/0.5064, allocations: 3.512 MB / 0.7555 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5064, allocations: 0 / 0.7555 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.5064, allocations: 0 / 0.7555 GB, free: 7.34 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009256/0.5074, allocations: 471.7 kB / 0.7559 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.5075, allocations: 12.03 kB / 0.756 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.5075, allocations: 11.86 kB / 0.756 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.5077, allocations: 181.5 kB / 0.7561 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.5078, allocations: 0 / 0.7561 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.5078, allocations: 7.984 kB / 0.7561 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001653/0.508, allocations: 36 kB / 0.7562 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.5083, allocations: 81.64 kB / 0.7563 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.5083, allocations: 7.984 kB / 0.7563 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.5083, allocations: 3.938 kB / 0.7563 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.5083, allocations: 7.953 kB / 0.7563 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.5098, allocations: 349.7 kB / 0.7566 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.5101, allocations: 54.56 kB / 0.7567 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.5102, allocations: 36.86 kB / 0.7567 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.5102, allocations: 8.141 kB / 0.7567 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.5105, allocations: 87.36 kB / 0.7568 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.916e-06/0.5105, allocations: 0 / 0.7568 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0005367/0.511, allocations: 149.5 kB / 0.7569 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.5111, allocations: 55.41 kB / 0.757 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.5113, allocations: 121.5 kB / 0.7571 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.5113, allocations: 25.7 kB / 0.7571 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.742e-05/0.5114, allocations: 100.3 kB / 0.7572 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.5114, allocations: 15.81 kB / 0.7572 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.269e-05/0.5115, allocations: 0 / 0.7572 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5116, allocations: 322.8 kB / 0.7575 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.475e-05/0.5117, allocations: 32.09 kB / 0.7576 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.5119, allocations: 64.16 kB / 0.7576 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.512, allocations: 31.98 kB / 0.7577 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.512, allocations: 0 / 0.7577 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003818/0.5124, allocations: 125.5 kB / 0.7578 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.5125, allocations: 4 kB / 0.7578 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5125, allocations: 4 kB / 0.7578 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.5125, allocations: 0 / 0.7578 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.5128, allocations: 31.88 kB / 0.7578 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.5128, allocations: 0 / 0.7578 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.513, allocations: 11.98 kB / 0.7578 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.5131, allocations: 4 kB / 0.7578 GB, free: 4.703 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 (14): * Single equations (assignments): 14 * 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.0001326/0.5132, allocations: 116.2 kB / 0.7579 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004401/0.5136, allocations: 145.5 kB / 0.7581 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.5137, allocations: 7.906 kB / 0.7581 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.98e-05/0.5138, allocations: 20.56 kB / 0.7581 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5138, allocations: 0 / 0.7581 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.5138, allocations: 112 / 0.7581 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.5138, allocations: 3.938 kB / 0.7581 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007636/0.5146, allocations: 415 kB / 0.7585 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5146, allocations: 4 kB / 0.7585 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.5147, allocations: 11.94 kB / 0.7585 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.5148, allocations: 3.953 kB / 0.7585 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.5148, allocations: 3.984 kB / 0.7585 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.5148, allocations: 0 / 0.7585 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5148, allocations: 4 kB / 0.7585 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.5153, allocations: 243.5 kB / 0.7588 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.5154, allocations: 89 kB / 0.7589 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.5154, allocations: 7.953 kB / 0.7589 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.5157, allocations: 4 kB / 0.7589 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.5157, allocations: 7.984 kB / 0.7589 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.5158, allocations: 7.984 kB / 0.7589 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.084e-05/0.5159, allocations: 101.9 kB / 0.759 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5159, allocations: 0 / 0.759 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005807/0.5165, allocations: 55.94 kB / 0.759 GB, free: 3.395 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 (9): * Single equations (assignments): 5 * 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.001308/0.5178, allocations: 0.8489 MB / 0.7599 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003445/0.5182, allocations: 84.11 kB / 0.7599 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5182, allocations: 0 / 0.7599 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.5184, allocations: 47.88 kB / 0.76 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.5187, allocations: 15.94 kB / 0.76 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008233/0.5195, allocations: 178.2 kB / 0.7602 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.5199, allocations: 0.7062 MB / 0.7609 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000105/0.5201, allocations: 7.984 kB / 0.7609 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.5202, allocations: 31.42 kB / 0.7609 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of SimCode: time 8.61e-07/0.5202, allocations: 0 / 0.7609 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04533/0.5655, allocations: 2.831 MB / 0.7637 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003352/0.566, allocations: 196.4 kB / 0.7639 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.285, allocations: 0 / 0.7639 GB, free: 14.38 MB / 0.6511 GB