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.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.523/4.523, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.032e-05/4.092e-05, allocations: 2.906 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2284, allocations: 98.73 MB / 0.6289 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.267/0.4955, allocations: 126.1 MB / 0.752 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004502/0.496, allocations: 87.92 kB / 0.7521 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.02234/0.5184, allocations: 3.165 MB / 0.7552 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.424e-06/0.5184, allocations: 0 / 0.7552 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.5185, allocations: 0 / 0.7552 GB, free: 7.66 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.000965/0.5195, allocations: 445.7 kB / 0.7556 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.5195, allocations: 12.03 kB / 0.7556 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.049e-05/0.5196, allocations: 11.86 kB / 0.7556 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.5199, allocations: 178.9 kB / 0.7558 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.5199, allocations: 0 / 0.7558 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.52, allocations: 4 kB / 0.7558 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001845/0.5202, allocations: 31.98 kB / 0.7558 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.5204, allocations: 69.66 kB / 0.7559 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5205, allocations: 0 / 0.7559 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.5205, allocations: 0 / 0.7559 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.619e-06/0.5205, allocations: 3.953 kB / 0.7559 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.522, allocations: 325.2 kB / 0.7562 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.5223, allocations: 47.17 kB / 0.7563 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.5226, allocations: 32.86 kB / 0.7563 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.5227, allocations: 7.938 kB / 0.7563 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.5229, allocations: 83.38 kB / 0.7564 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 4.679e-06/0.523, allocations: 0 / 0.7564 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0006126/0.5236, allocations: 125.8 kB / 0.7565 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.5237, allocations: 55.41 kB / 0.7565 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.5238, allocations: 113.3 kB / 0.7567 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.5239, allocations: 33.64 kB / 0.7567 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.524, allocations: 96.12 kB / 0.7568 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.5241, allocations: 19.75 kB / 0.7568 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.5241, allocations: 0 / 0.7568 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.5243, allocations: 322.8 kB / 0.7571 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-05/0.5244, allocations: 20 kB / 0.7571 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.5245, allocations: 52.41 kB / 0.7572 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.5247, allocations: 28 kB / 0.7572 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.5247, allocations: 0 / 0.7572 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003884/0.5251, allocations: 109.4 kB / 0.7573 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.5251, allocations: 4 kB / 0.7573 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5252, allocations: 0 / 0.7573 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.5252, allocations: 4 kB / 0.7573 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.5255, allocations: 19.98 kB / 0.7573 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.5255, allocations: 8.047 kB / 0.7573 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.5257, allocations: 15.91 kB / 0.7574 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.5258, allocations: 4.078 kB / 0.7574 GB, free: 5.195 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.0001503/0.5259, allocations: 111.3 kB / 0.7575 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005144/0.5265, allocations: 129.5 kB / 0.7576 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.5265, allocations: 4 kB / 0.7576 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.5266, allocations: 4.625 kB / 0.7576 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.5266, allocations: 7.953 kB / 0.7576 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5266, allocations: 4 kB / 0.7576 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.5266, allocations: 0 / 0.7576 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008766/0.5275, allocations: 378.9 kB / 0.758 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.5275, allocations: 0 / 0.758 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.284e-05/0.5277, allocations: 7.984 kB / 0.758 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/0.5277, allocations: 4 kB / 0.758 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.5277, allocations: 3.953 kB / 0.758 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.5277, allocations: 3.984 kB / 0.758 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5278, allocations: 4 kB / 0.758 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.5283, allocations: 227.4 kB / 0.7582 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-05/0.5284, allocations: 77.11 kB / 0.7583 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.058e-05/0.5285, allocations: 8 kB / 0.7583 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.5287, allocations: 11.94 kB / 0.7583 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.5288, allocations: 7.984 kB / 0.7583 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.5289, allocations: 7.875 kB / 0.7583 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.11e-05/0.529, allocations: 99.27 kB / 0.7584 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/0.529, allocations: 0 / 0.7584 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000756/0.5298, allocations: 55.84 kB / 0.7585 GB, free: 3.969 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.001451/0.5312, allocations: 0.8135 MB / 0.7593 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.5316, allocations: 67.92 kB / 0.7593 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5316, allocations: 0 / 0.7593 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.5318, allocations: 36.3 kB / 0.7594 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.5322, allocations: 11.94 kB / 0.7594 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009984/0.5332, allocations: 174 kB / 0.7595 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.5337, allocations: 0.6963 MB / 0.7602 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.5338, allocations: 7.984 kB / 0.7602 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.433e-05/0.5339, allocations: 27.38 kB / 0.7602 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/0.5339, allocations: 0 / 0.7602 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0366/0.5705, allocations: 2.515 MB / 0.7627 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002922/0.5709, allocations: 189.3 kB / 0.7629 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.604/3.175, allocations: 0 / 0.7629 GB, free: 15.36 MB / 0.6511 GB