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.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.01096/0.01096, allocations: 108.1 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.001482/0.001482, allocations: 188.2 kB / 15.95 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.277/2.277, allocations: 194.5 MB / 211.2 MB, free: 11.05 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.718/2.718, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004803, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7554/0.7559, allocations: 98.71 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2528/1.009, allocations: 126.5 MB / 0.807 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/1.009, allocations: 83.95 kB / 0.807 GB, free: 15.6 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.01425/1.023, allocations: 2.948 MB / 0.8099 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/1.023, allocations: 0 / 0.8099 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.935e-06/1.023, allocations: 4 kB / 0.8099 GB, free: 12.64 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.0007415/1.024, allocations: 424.8 kB / 0.8103 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.024, allocations: 8.031 kB / 0.8103 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.822e-05/1.024, allocations: 34.56 kB / 0.8104 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/1.024, allocations: 11.86 kB / 0.8104 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/1.025, allocations: 174.9 kB / 0.8105 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/1.025, allocations: 4 kB / 0.8106 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/1.025, allocations: 8 kB / 0.8106 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/1.025, allocations: 69.66 kB / 0.8106 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.025, allocations: 0 / 0.8106 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/1.025, allocations: 3.938 kB / 0.8106 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.025, allocations: 0 / 0.8106 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/1.025, allocations: 43.97 kB / 0.8107 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008838/1.026, allocations: 324.7 kB / 0.811 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/1.026, allocations: 46.56 kB / 0.811 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/1.026, allocations: 7.984 kB / 0.811 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/1.027, allocations: 79.45 kB / 0.8111 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/1.027, allocations: 0 / 0.8111 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006739/1.027, allocations: 157.4 kB / 0.8113 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/1.027, allocations: 55.41 kB / 0.8113 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/1.028, allocations: 108.9 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/1.028, allocations: 33.7 kB / 0.8114 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/1.028, allocations: 92.25 kB / 0.8115 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/1.028, allocations: 19.88 kB / 0.8116 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/1.028, allocations: 0 / 0.8116 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.028, allocations: 322.8 kB / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/1.028, allocations: 31.98 kB / 0.8119 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/1.028, allocations: 46.56 kB / 0.8119 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/1.028, allocations: 31.98 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.028, allocations: 4 kB / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004017/1.029, allocations: 117.5 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.029, allocations: 4 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.029, allocations: 4 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.029, allocations: 0 / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/1.029, allocations: 15.92 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/1.029, allocations: 12.41 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/1.029, allocations: 4 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/1.029, allocations: 4 kB / 0.8121 GB, free: 10.14 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.0001385/1.029, allocations: 121.8 kB / 0.8122 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/1.03, allocations: 7.906 kB / 0.8123 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/1.03, allocations: 4.375 kB / 0.8123 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/1.03, allocations: 0 / 0.8123 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.03, allocations: 8 kB / 0.8123 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/1.03, allocations: 7.891 kB / 0.8123 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007415/1.03, allocations: 390.4 kB / 0.8126 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.03, allocations: 4 kB / 0.8126 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/1.03, allocations: 7.984 kB / 0.8127 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/1.03, allocations: 0 / 0.8127 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/1.031, allocations: 8 kB / 0.8127 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.031, allocations: 3.953 kB / 0.8127 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.031, allocations: 0 / 0.8127 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/1.031, allocations: 219.4 kB / 0.8129 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/1.031, allocations: 84.95 kB / 0.813 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/1.031, allocations: 0 / 0.813 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/1.031, allocations: 8 kB / 0.813 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/1.031, allocations: 11.94 kB / 0.813 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/1.031, allocations: 7.984 kB / 0.813 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.014e-05/1.031, allocations: 95.27 kB / 0.8131 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.6e-07/1.031, allocations: 0 / 0.8131 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004684/1.032, 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.001213/1.033, allocations: 0.8053 MB / 0.8139 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003897/1.034, allocations: 79.95 kB / 0.814 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.034, allocations: 3.938 kB / 0.814 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/1.034, allocations: 35.92 kB / 0.814 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/1.034, allocations: 11.94 kB / 0.814 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/1.035, allocations: 0.7292 MB / 0.8148 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/1.036, allocations: 0.6926 MB / 0.8154 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.199e-05/1.036, allocations: 8.172 kB / 0.8154 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/1.036, allocations: 15.44 kB / 0.8155 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of SimCode: time 1.523e-06/1.036, allocations: 0 / 0.8155 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/1.062, allocations: 2.509 MB / 0.8179 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003749/1.063, allocations: 239.6 kB / 0.8181 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/3.554, allocations: 0 / 0.8181 GB, free: 3.902 MB / 0.6355 GB