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.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.01785/0.01785, allocations: 107 kB / 15.05 MB, free: 5.934 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.002322/0.002322, allocations: 186.7 kB / 15.95 MB, free: 5.898 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.348/2.348, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.566/2.566, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007004/0.0007002, allocations: 15.98 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6839/0.6846, allocations: 98.72 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2412/0.9259, allocations: 126.5 MB / 0.807 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/0.9263, allocations: 79.95 kB / 0.807 GB, free: 15.59 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.01385/0.9402, allocations: 2.951 MB / 0.8099 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9402, allocations: 4 kB / 0.8099 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.9402, allocations: 4 kB / 0.8099 GB, free: 12.62 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000697/0.9409, allocations: 416.8 kB / 0.8103 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.941, allocations: 8.031 kB / 0.8103 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.303e-05/0.941, allocations: 38.55 kB / 0.8104 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.9411, allocations: 11.86 kB / 0.8104 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.9412, allocations: 170.9 kB / 0.8105 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.9413, allocations: 4 kB / 0.8105 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.9413, allocations: 8 kB / 0.8106 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.9416, allocations: 69.66 kB / 0.8106 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.9416, allocations: 0 / 0.8106 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.9416, allocations: 0 / 0.8106 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.9416, allocations: 0 / 0.8106 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.9419, allocations: 43.97 kB / 0.8107 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008067/0.9427, allocations: 324.7 kB / 0.811 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.9429, allocations: 50.55 kB / 0.811 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.9429, allocations: 7.938 kB / 0.811 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.9432, allocations: 79.5 kB / 0.8111 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.943e-06/0.9432, allocations: 0 / 0.8111 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006461/0.9439, allocations: 161.5 kB / 0.8113 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.9439, allocations: 55.34 kB / 0.8113 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.944, allocations: 113 kB / 0.8114 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.9441, allocations: 29.7 kB / 0.8114 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.9442, allocations: 92.25 kB / 0.8115 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.9442, allocations: 15.81 kB / 0.8116 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.9442, allocations: 0 / 0.8116 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.9443, allocations: 326.8 kB / 0.8119 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.9445, allocations: 23.98 kB / 0.8119 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.9447, allocations: 50.56 kB / 0.8119 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.9449, allocations: 35.98 kB / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9449, allocations: 0 / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004133/0.9453, allocations: 121.5 kB / 0.8121 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.9453, allocations: 13.19 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.9454, allocations: 0 / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.9454, allocations: 0 / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.9455, allocations: 12.05 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.9456, allocations: 11.95 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.9457, allocations: 4 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.9457, allocations: 7.984 kB / 0.8121 GB, free: 10.12 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001131/0.9458, allocations: 113.8 kB / 0.8122 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.9459, allocations: 7.906 kB / 0.8122 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.9459, allocations: 8.375 kB / 0.8123 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.9459, allocations: 0 / 0.8123 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.946, allocations: 15.94 kB / 0.8123 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.946, allocations: 3.953 kB / 0.8123 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006925/0.9467, allocations: 378.5 kB / 0.8126 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.9467, allocations: 0 / 0.8126 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.9468, allocations: 11.92 kB / 0.8126 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.9468, allocations: 0 / 0.8126 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.9468, allocations: 8 kB / 0.8127 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.9468, allocations: 3.953 kB / 0.8127 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.9468, allocations: 0 / 0.8127 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.9473, allocations: 219.4 kB / 0.8129 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.9473, allocations: 81.02 kB / 0.8129 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.9474, allocations: 8 kB / 0.813 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.9475, allocations: 7.984 kB / 0.813 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.9476, allocations: 7.938 kB / 0.813 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.9476, allocations: 4 kB / 0.813 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.109e-05/0.9477, allocations: 95.86 kB / 0.8131 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9477, allocations: 0 / 0.8131 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000449/0.9482, allocations: 55.86 kB / 0.8131 GB, free: 9.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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.001137/0.9493, allocations: 0.8291 MB / 0.8139 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003686/0.9497, allocations: 75.89 kB / 0.814 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.9497, allocations: 0 / 0.814 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.9499, allocations: 35.98 kB / 0.814 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.9501, allocations: 11.94 kB / 0.814 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/0.9511, allocations: 0.7286 MB / 0.8148 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.9514, allocations: 0.6965 MB / 0.8154 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.352e-05/0.9514, allocations: 192 / 0.8154 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.9515, allocations: 23.42 kB / 0.8155 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/0.9515, allocations: 0 / 0.8155 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.9796, allocations: 2.491 MB / 0.8179 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/0.98, allocations: 236.3 kB / 0.8181 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.642/3.622, allocations: 4 kB / 0.8181 GB, free: 3.898 MB / 0.6355 GB