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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01114/0.01115, allocations: 106.8 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001207/0.001207, allocations: 186.5 kB / 15.94 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.202/2.202, allocations: 194.6 MB / 211.3 MB, free: 11.27 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.539/2.539, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007412/0.0007411, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7542/0.755, allocations: 98.71 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.293/1.048, allocations: 126.9 MB / 0.8074 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/1.048, allocations: 87.92 kB / 0.8075 GB, free: 15.15 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.01872/1.067, allocations: 3.742 MB / 0.8111 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.186e-06/1.067, allocations: 0 / 0.8111 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.067, allocations: 0 / 0.8111 GB, free: 11.4 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.0009963/1.068, allocations: 0.5406 MB / 0.8117 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.068, allocations: 8.031 kB / 0.8117 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.519e-05/1.068, allocations: 42.5 kB / 0.8117 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/1.068, allocations: 15.77 kB / 0.8117 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/1.069, allocations: 185.8 kB / 0.8119 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/1.069, allocations: 4 kB / 0.8119 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/1.069, allocations: 8 kB / 0.8119 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000792/1.07, allocations: 157.5 kB / 0.8121 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.07, allocations: 0 / 0.8121 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/1.07, allocations: 0 / 0.8121 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/1.07, allocations: 4 kB / 0.8121 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007728/1.07, allocations: 127.9 kB / 0.8122 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/1.072, allocations: 412.5 kB / 0.8126 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006344/1.073, allocations: 114.5 kB / 0.8127 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/1.073, allocations: 8.141 kB / 0.8127 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007281/1.073, allocations: 163.2 kB / 0.8129 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.184e-06/1.073, allocations: 0 / 0.8129 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.002025/1.075, allocations: 349.3 kB / 0.8132 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/1.075, allocations: 55.41 kB / 0.8132 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/1.076, allocations: 137.4 kB / 0.8134 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/1.076, allocations: 29.7 kB / 0.8134 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/1.076, allocations: 100.4 kB / 0.8135 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/1.076, allocations: 19.66 kB / 0.8135 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/1.076, allocations: 8 kB / 0.8135 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.076, allocations: 322.8 kB / 0.8138 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/1.076, allocations: 43.97 kB / 0.8139 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/1.076, allocations: 89.11 kB / 0.814 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/1.077, allocations: 55.97 kB / 0.814 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.077, allocations: 0 / 0.814 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000673/1.077, allocations: 173.5 kB / 0.8142 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.078, allocations: 8.312 kB / 0.8142 GB, free: 8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.078, allocations: 7.953 kB / 0.8142 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.078, allocations: 0 / 0.8142 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/1.078, allocations: 23.98 kB / 0.8142 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/1.078, allocations: 7.922 kB / 0.8142 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/1.078, allocations: 24.08 kB / 0.8142 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/1.078, allocations: 11.92 kB / 0.8143 GB, free: 7.926 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 () * Number of clocked 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.0001409/1.078, allocations: 121.8 kB / 0.8144 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/1.078, allocations: 11.91 kB / 0.8144 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/1.078, allocations: 8.719 kB / 0.8144 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/1.078, allocations: 7.953 kB / 0.8144 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.078, allocations: 0 / 0.8144 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/1.078, allocations: 3.984 kB / 0.8144 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/1.08, allocations: 0.5452 MB / 0.8149 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.08, allocations: 0 / 0.8149 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/1.08, allocations: 27.98 kB / 0.815 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/1.08, allocations: 3.953 kB / 0.815 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/1.08, allocations: 3.984 kB / 0.815 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/1.08, allocations: 0 / 0.815 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.08, allocations: 0 / 0.815 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/1.082, allocations: 363.1 kB / 0.8153 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/1.082, allocations: 84.95 kB / 0.8154 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/1.082, allocations: 11.95 kB / 0.8154 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/1.082, allocations: 31.97 kB / 0.8154 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/1.082, allocations: 7.984 kB / 0.8154 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/1.082, allocations: 3.984 kB / 0.8155 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001056/1.083, allocations: 109.3 kB / 0.8156 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.9e-07/1.083, allocations: 7.938 kB / 0.8156 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005028/1.083, allocations: 59.92 kB / 0.8156 GB, free: 6.422 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) * Number of clocked states: 0 () * 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.002108/1.085, allocations: 0.9741 MB / 0.8166 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009458/1.086, allocations: 159.8 kB / 0.8167 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.086, allocations: 0 / 0.8167 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006249/1.087, allocations: 112.1 kB / 0.8168 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/1.087, allocations: 11.94 kB / 0.8168 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/1.089, allocations: 1.298 MB / 0.8181 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/1.089, allocations: 0.7004 MB / 0.8188 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.4e-05/1.089, allocations: 7.984 kB / 0.8188 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.312e-05/1.089, allocations: 31.42 kB / 0.8188 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of SimCode: time 8.12e-07/1.089, allocations: 4 kB / 0.8188 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/1.121, allocations: 3.242 MB / 0.822 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003769/1.122, allocations: 251.6 kB / 0.8222 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/3.889, allocations: 0 / 0.8222 GB, free: 15.57 MB / 0.6511 GB