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.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.01098/0.01098, allocations: 107.7 kB / 15.05 MB, free: 6.055 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.001237/0.001236, allocations: 185.9 kB / 15.95 MB, free: 5.98 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.041/2.041, allocations: 194.5 MB / 211.2 MB, free: 11.08 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.561/2.561, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005198/0.0005198, allocations: 12 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7982/0.7987, allocations: 98.7 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2444/1.043, allocations: 126.5 MB / 0.807 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/1.044, 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.01654/1.06, allocations: 2.951 MB / 0.8099 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.086e-06/1.06, allocations: 0 / 0.8099 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.608e-06/1.06, allocations: 0 / 0.8099 GB, free: 12.63 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.000988/1.061, allocations: 420.8 kB / 0.8103 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/1.061, allocations: 12.03 kB / 0.8103 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.182e-05/1.061, allocations: 34.55 kB / 0.8104 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/1.062, allocations: 19.86 kB / 0.8104 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/1.062, allocations: 174.9 kB / 0.8105 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/1.062, allocations: 0 / 0.8105 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/1.062, allocations: 4 kB / 0.8106 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/1.062, allocations: 69.66 kB / 0.8106 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/1.062, allocations: 4 kB / 0.8106 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/1.062, allocations: 3.984 kB / 0.8106 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/1.062, allocations: 0 / 0.8106 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/1.063, allocations: 39.98 kB / 0.8107 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/1.064, allocations: 320.7 kB / 0.811 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/1.064, allocations: 50.56 kB / 0.811 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/1.064, allocations: 4 kB / 0.811 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01139/1.076, allocations: 79.5 kB / 0.8111 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.556e-06/1.076, allocations: 0 / 0.8111 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.002979/1.079, allocations: 157.4 kB / 0.8112 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/1.079, allocations: 59.34 kB / 0.8113 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/1.079, allocations: 116.9 kB / 0.8114 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/1.079, allocations: 29.7 kB / 0.8114 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/1.079, allocations: 92.27 kB / 0.8115 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/1.079, allocations: 19.81 kB / 0.8116 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/1.079, allocations: 0 / 0.8116 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001949/1.08, allocations: 318.8 kB / 0.8119 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/1.08, allocations: 27.98 kB / 0.8119 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/1.08, allocations: 50.55 kB / 0.8119 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/1.08, allocations: 35.98 kB / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.726e-06/1.08, allocations: 4 kB / 0.812 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006006/1.081, allocations: 113.5 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/1.081, allocations: 8 kB / 0.8121 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.081, allocations: 4 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/1.081, allocations: 4 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/1.081, allocations: 15.98 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.081, allocations: 3.953 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/1.081, allocations: 11.98 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/1.081, allocations: 0 / 0.8121 GB, free: 10.13 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.0001682/1.082, allocations: 117.8 kB / 0.8122 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/1.082, allocations: 7.906 kB / 0.8122 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/1.082, allocations: 12.38 kB / 0.8123 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/1.082, allocations: 0 / 0.8123 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.082, allocations: 3.938 kB / 0.8123 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/1.082, allocations: 11.94 kB / 0.8123 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009477/1.083, allocations: 386.4 kB / 0.8126 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.083, allocations: 4 kB / 0.8126 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.423e-05/1.083, allocations: 7.938 kB / 0.8126 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/1.083, allocations: 0 / 0.8126 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/1.083, allocations: 0 / 0.8126 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/1.083, allocations: 4.422 kB / 0.8127 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.083, allocations: 0 / 0.8127 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000604/1.084, allocations: 219.4 kB / 0.8129 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-05/1.084, allocations: 89 kB / 0.8129 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/1.084, allocations: 4 kB / 0.813 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/1.084, allocations: 7.984 kB / 0.813 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/1.084, allocations: 7.953 kB / 0.813 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/1.084, allocations: 3.984 kB / 0.813 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.125e-05/1.084, allocations: 91.28 kB / 0.8131 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.21e-07/1.084, allocations: 0 / 0.8131 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01011/1.094, allocations: 59.86 kB / 0.8131 GB, free: 9.004 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.001691/1.096, allocations: 0.8226 MB / 0.8139 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005422/1.097, allocations: 71.91 kB / 0.814 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.097, allocations: 0 / 0.814 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/1.097, allocations: 44.09 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.0003619/1.097, allocations: 11.95 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.001398/1.099, allocations: 0.7285 MB / 0.8148 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/1.099, allocations: 0.6887 MB / 0.8154 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.482e-05/1.099, allocations: 8.188 kB / 0.8154 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.275e-05/1.099, allocations: 23.42 kB / 0.8155 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of SimCode: time 1.443e-06/1.099, allocations: 0 / 0.8155 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05114/1.151, allocations: 2.501 MB / 0.8179 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003641/1.151, allocations: 243.2 kB / 0.8181 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.59/3.741, allocations: 0 / 0.8181 GB, free: 3.891 MB / 0.6355 GB