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.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.0125/0.0125, allocations: 107.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.001417/0.001417, allocations: 186.4 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.308/2.308, allocations: 194.6 MB / 211.3 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.571/2.571, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.000491, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7008/0.7013, allocations: 98.71 MB / 0.6834 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2363/0.9377, allocations: 126.5 MB / 0.807 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/0.9381, allocations: 87.94 kB / 0.807 GB, free: 15.61 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.01441/0.9525, allocations: 2.935 MB / 0.8099 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.524e-06/0.9526, allocations: 4 kB / 0.8099 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.9526, allocations: 0 / 0.8099 GB, free: 12.66 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.0008443/0.9534, allocations: 428.7 kB / 0.8103 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.9535, allocations: 12.03 kB / 0.8103 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.776e-05/0.9536, allocations: 34.56 kB / 0.8104 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.9536, allocations: 11.86 kB / 0.8104 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.9538, allocations: 167 kB / 0.8105 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.9539, allocations: 11.98 kB / 0.8106 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.9539, allocations: 8 kB / 0.8106 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.9542, allocations: 69.64 kB / 0.8106 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.9542, allocations: 0 / 0.8106 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.9542, allocations: 0 / 0.8106 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.9543, allocations: 0 / 0.8106 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.9545, allocations: 51.91 kB / 0.8107 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008902/0.9554, allocations: 312.8 kB / 0.811 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.9556, allocations: 58.56 kB / 0.811 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.9557, allocations: 0 / 0.811 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.956, allocations: 79.44 kB / 0.8111 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/0.956, allocations: 0 / 0.8111 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006654/0.9566, allocations: 157.6 kB / 0.8113 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.9567, allocations: 59.33 kB / 0.8113 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.9569, allocations: 116.9 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.9569, allocations: 29.7 kB / 0.8115 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.957, allocations: 88.27 kB / 0.8115 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.957, allocations: 19.8 kB / 0.8116 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-06/0.957, allocations: 0 / 0.8116 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.9572, allocations: 322.8 kB / 0.8119 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.9573, allocations: 27.98 kB / 0.8119 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.9575, allocations: 54.48 kB / 0.8119 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.9577, allocations: 35.98 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.9577, allocations: 0 / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004014/0.9581, allocations: 117.5 kB / 0.8121 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.9582, allocations: 4 kB / 0.8121 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.9582, allocations: 4 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.9582, allocations: 0 / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.9584, allocations: 12.06 kB / 0.8121 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.9584, allocations: 11.94 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.9585, allocations: 4 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.9586, allocations: 8 kB / 0.8121 GB, free: 10.15 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.0001369/0.9587, allocations: 117.8 kB / 0.8122 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.9588, allocations: 7.906 kB / 0.8122 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.9588, allocations: 12.36 kB / 0.8123 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.9588, allocations: 4 kB / 0.8123 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.9588, allocations: 0 / 0.8123 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.9589, allocations: 3.953 kB / 0.8123 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007299/0.9596, allocations: 382.4 kB / 0.8126 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.9596, allocations: 3.938 kB / 0.8126 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-05/0.9597, allocations: 7.938 kB / 0.8126 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.9597, allocations: 4 kB / 0.8126 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.9598, allocations: 7.984 kB / 0.8127 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.9598, allocations: 7.953 kB / 0.8127 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9598, allocations: 0 / 0.8127 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004585/0.9602, allocations: 216 kB / 0.8129 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/0.9603, allocations: 85.02 kB / 0.813 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.9604, allocations: 3.984 kB / 0.813 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.9605, allocations: 4 kB / 0.813 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.9606, allocations: 15.94 kB / 0.813 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.9606, allocations: 4 kB / 0.813 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.858e-05/0.9607, allocations: 91.27 kB / 0.8131 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/0.9607, allocations: 0 / 0.8131 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004552/0.9612, allocations: 51.88 kB / 0.8131 GB, free: 9.031 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.001185/0.9624, allocations: 0.8244 MB / 0.8139 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004242/0.9628, allocations: 75.89 kB / 0.814 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9628, allocations: 0 / 0.814 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.963, allocations: 39.97 kB / 0.814 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.9632, allocations: 13.06 kB / 0.814 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.9643, allocations: 0.7324 MB / 0.8148 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.9647, allocations: 0.6887 MB / 0.8154 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.014e-05/0.9647, allocations: 4.188 kB / 0.8154 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.841e-05/0.9648, allocations: 23.42 kB / 0.8155 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of SimCode: time 1.222e-06/0.9648, allocations: 0 / 0.8155 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.9944, allocations: 2.492 MB / 0.8179 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003821/0.9949, allocations: 243.2 kB / 0.8181 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.548, allocations: 3.938 kB / 0.8181 GB, free: 3.914 MB / 0.6355 GB