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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01511/0.01511, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.001789/0.001789, allocations: 179.3 kB / 15.94 MB, free: 5.93 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.248/2.248, allocations: 194.5 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.441/2.441, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004655, allocations: 12 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/0.5398, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.187/0.7269, allocations: 126.5 MB / 0.8069 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.7272, allocations: 83.94 kB / 0.8069 GB, free: 15.73 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.0128/0.74, allocations: 2.948 MB / 0.8098 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.451e-06/0.7401, allocations: 4 kB / 0.8098 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.337e-06/0.7401, allocations: 0 / 0.8098 GB, free: 12.77 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.0006168/0.7407, allocations: 412.8 kB / 0.8102 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.7408, allocations: 12.03 kB / 0.8102 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.7408, allocations: 11.86 kB / 0.8102 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.741, allocations: 178.9 kB / 0.8104 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.741, allocations: 4 kB / 0.8104 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.7411, allocations: 11.98 kB / 0.8104 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.7413, allocations: 65.66 kB / 0.8105 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.743e-06/0.7413, allocations: 0 / 0.8105 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.7413, allocations: 0 / 0.8105 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.78e-06/0.7413, allocations: 4 kB / 0.8105 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.7415, allocations: 43.97 kB / 0.8105 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007333/0.7423, allocations: 319.1 kB / 0.8108 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.7425, allocations: 54.5 kB / 0.8109 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.7425, allocations: 4 kB / 0.8109 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.7428, allocations: 75.5 kB / 0.811 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.322e-06/0.7428, allocations: 4 kB / 0.811 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005346/0.7433, allocations: 161.5 kB / 0.8111 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.7434, allocations: 55.41 kB / 0.8112 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.7435, allocations: 112.9 kB / 0.8113 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.7436, allocations: 25.7 kB / 0.8113 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.7437, allocations: 96.25 kB / 0.8114 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.7437, allocations: 11.81 kB / 0.8114 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-06/0.7437, allocations: 4 kB / 0.8114 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.7439, allocations: 318.8 kB / 0.8117 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.744, allocations: 35.97 kB / 0.8118 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.7442, allocations: 46.56 kB / 0.8118 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.7443, allocations: 35.98 kB / 0.8118 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.313e-06/0.7443, allocations: 0 / 0.8118 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00036/0.7447, allocations: 125.5 kB / 0.812 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.7447, allocations: 4 kB / 0.812 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.499e-06/0.7447, allocations: 0 / 0.812 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.7448, allocations: 0 / 0.812 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.7449, allocations: 19.98 kB / 0.812 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.7449, allocations: 7.953 kB / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.351e-05/0.745, allocations: 4 kB / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.7451, allocations: 8 kB / 0.812 GB, free: 10.31 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.0001335/0.7452, allocations: 117.8 kB / 0.8121 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.7452, allocations: 7.906 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/0.7453, allocations: 12.38 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.856e-06/0.7453, allocations: 0 / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.956e-06/0.7453, allocations: 4 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.215e-06/0.7453, allocations: 3.953 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006539/0.746, allocations: 374.5 kB / 0.8125 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.109e-06/0.746, allocations: 0 / 0.8125 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.7461, allocations: 11.98 kB / 0.8125 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.386e-06/0.7461, allocations: 0 / 0.8125 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.7461, allocations: 4 kB / 0.8125 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.152e-06/0.7462, allocations: 3.953 kB / 0.8125 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.962e-06/0.7462, allocations: 3.938 kB / 0.8125 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.7466, allocations: 219.8 kB / 0.8127 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.7466, allocations: 89 kB / 0.8128 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.7467, allocations: 4 kB / 0.8128 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.7468, allocations: 4 kB / 0.8128 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.7469, allocations: 15.94 kB / 0.8128 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.7469, allocations: 4 kB / 0.8128 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.71e-05/0.747, allocations: 95.86 kB / 0.8129 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.76e-07/0.747, allocations: 0 / 0.8129 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004449/0.7475, allocations: 55.92 kB / 0.813 GB, free: 9.195 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.0004556/0.7479, allocations: 178.1 kB / 0.8132 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.7483, allocations: 75.91 kB / 0.8132 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.164e-06/0.7483, allocations: 0 / 0.8132 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.7484, allocations: 44.09 kB / 0.8133 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.7487, allocations: 4 kB / 0.8133 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.7492, allocations: 201.1 kB / 0.8135 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.7495, allocations: 0.6945 MB / 0.8141 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.419e-05/0.7496, allocations: 8.172 kB / 0.8141 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.7497, allocations: 11.44 kB / 0.8142 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of SimCode: time 1.631e-06/0.7497, allocations: 0 / 0.8142 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of Templates: time 0.005685/0.7554, allocations: 1.518 MB / 0.8156 GB, free: 6.422 MB / 0.6355 GB