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.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.484/4.484, allocations: 433.2 MB / 440.7 MB, free: 4.547 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.126e-05, allocations: 3.312 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2415, allocations: 98.73 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2718/0.5134, allocations: 126.2 MB / 0.7521 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.5138, allocations: 79.95 kB / 0.7522 GB, free: 10.68 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.01953/0.5334, allocations: 3.708 MB / 0.7558 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5334, allocations: 4 kB / 0.7558 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.5334, allocations: 4 kB / 0.7558 GB, free: 6.953 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009541/0.5344, allocations: 0.5166 MB / 0.7563 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.5345, allocations: 8.031 kB / 0.7563 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.137e-05/0.5345, allocations: 23.73 kB / 0.7564 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.5347, allocations: 182.9 kB / 0.7565 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.5348, allocations: 4 kB / 0.7565 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.5348, allocations: 4 kB / 0.7565 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001959/0.535, allocations: 51.98 kB / 0.7566 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.5353, allocations: 93.62 kB / 0.7567 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5353, allocations: 0 / 0.7567 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.5354, allocations: 7.891 kB / 0.7567 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.5354, allocations: 0 / 0.7567 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.5369, allocations: 385.7 kB / 0.7571 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.5371, allocations: 58.56 kB / 0.7571 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.5372, allocations: 40.86 kB / 0.7571 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.5373, allocations: 0 / 0.7571 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.5375, allocations: 107.4 kB / 0.7573 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.395e-06/0.5376, allocations: 0 / 0.7573 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0005742/0.5381, allocations: 145.4 kB / 0.7574 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.5382, allocations: 63.39 kB / 0.7575 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.5384, allocations: 136.8 kB / 0.7576 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.5384, allocations: 25.7 kB / 0.7576 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.5385, allocations: 100.4 kB / 0.7577 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.5386, allocations: 23.66 kB / 0.7577 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/0.5386, allocations: 0 / 0.7577 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5388, allocations: 322.8 kB / 0.758 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-05/0.5389, allocations: 20 kB / 0.7581 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.539, allocations: 73.08 kB / 0.7581 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.5391, allocations: 25.67 kB / 0.7581 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.5391, allocations: 4 kB / 0.7581 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000335/0.5395, allocations: 113.5 kB / 0.7583 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.5395, allocations: 8 kB / 0.7583 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.5395, allocations: 3.984 kB / 0.7583 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.5396, allocations: 7.953 kB / 0.7583 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.5399, allocations: 19.98 kB / 0.7583 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.5399, allocations: 4 kB / 0.7583 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.5401, allocations: 16.02 kB / 0.7583 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.5401, allocations: 8 kB / 0.7583 GB, free: 4.145 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$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.0001673/0.5403, allocations: 114.3 kB / 0.7584 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004913/0.5408, allocations: 145.5 kB / 0.7586 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.5408, allocations: 11.86 kB / 0.7586 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.5409, allocations: 12.62 kB / 0.7586 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.5409, allocations: 0 / 0.7586 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5409, allocations: 112 / 0.7586 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.541, allocations: 8.109 kB / 0.7586 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008283/0.5418, allocations: 430.9 kB / 0.759 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.5418, allocations: 3.953 kB / 0.759 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.542, allocations: 19.97 kB / 0.759 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.542, allocations: 0 / 0.759 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.5421, allocations: 3.984 kB / 0.759 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.5421, allocations: 4 kB / 0.759 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5421, allocations: 0 / 0.759 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005463/0.5426, allocations: 247.3 kB / 0.7593 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-05/0.5427, allocations: 84.97 kB / 0.7594 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.5428, allocations: 4 kB / 0.7594 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.5432, allocations: 27.97 kB / 0.7594 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/0.5433, allocations: 15.98 kB / 0.7594 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.5433, allocations: 7.984 kB / 0.7594 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001086/0.5434, allocations: 106.5 kB / 0.7595 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5434, allocations: 0 / 0.7595 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005287/0.544, allocations: 47.94 kB / 0.7596 GB, free: 2.789 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: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.001345/0.5453, allocations: 0.8615 MB / 0.7604 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003432/0.5457, allocations: 79.92 kB / 0.7605 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5457, allocations: 0 / 0.7605 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.5459, allocations: 47.98 kB / 0.7605 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.5462, allocations: 12.19 kB / 0.7605 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008688/0.5471, allocations: 194 kB / 0.7607 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.5474, allocations: 0.708 MB / 0.7614 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000112/0.5476, allocations: 8.172 kB / 0.7614 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.5477, allocations: 35.42 kB / 0.7615 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/0.5477, allocations: 0 / 0.7615 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05859/0.6063, allocations: 2.904 MB / 0.7643 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003069/0.6067, allocations: 202.4 kB / 0.7645 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/3.316, allocations: 0 / 0.7645 GB, free: 13.61 MB / 0.6511 GB