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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009042/0.009042, allocations: 110.4 kB / 15.05 MB, free: 6.031 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.001091/0.001091, allocations: 190.3 kB / 15.95 MB, free: 5.965 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.045/2.045, allocations: 194.6 MB / 211.3 MB, free: 11.28 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.218/2.218, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004753, allocations: 12 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5378/0.5383, allocations: 98.71 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2088/0.7472, allocations: 126.5 MB / 0.8069 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004411/0.7477, allocations: 87.94 kB / 0.807 GB, free: 15.69 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.02165/0.7694, allocations: 2.936 MB / 0.8098 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.233e-06/0.7694, allocations: 0 / 0.8098 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.566e-06/0.7694, allocations: 4 kB / 0.8098 GB, free: 12.74 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.0008968/0.7703, allocations: 412.8 kB / 0.8102 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.7704, allocations: 12.03 kB / 0.8102 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/0.7705, allocations: 11.84 kB / 0.8102 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.7707, allocations: 170.9 kB / 0.8104 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.63e-05/0.7708, allocations: 8 kB / 0.8104 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.7708, allocations: 4 kB / 0.8104 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.7712, allocations: 73.64 kB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.7713, allocations: 0 / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.7713, allocations: 4 kB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.7713, allocations: 4 kB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.7717, allocations: 39.97 kB / 0.8105 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.7728, allocations: 319.1 kB / 0.8108 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.7731, allocations: 54.55 kB / 0.8109 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.7732, allocations: 0 / 0.8109 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003361/0.7735, allocations: 79.5 kB / 0.811 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.253e-06/0.7736, allocations: 0 / 0.811 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0009188/0.7745, allocations: 157.5 kB / 0.8111 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.7746, allocations: 55.41 kB / 0.8112 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.7748, allocations: 120.9 kB / 0.8113 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.7748, allocations: 25.7 kB / 0.8113 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.775, allocations: 96.25 kB / 0.8114 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.775, allocations: 11.81 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.7751, allocations: 4 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.7753, allocations: 318.8 kB / 0.8117 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.7755, allocations: 31.98 kB / 0.8117 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.7758, allocations: 46.56 kB / 0.8118 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.776, allocations: 31.98 kB / 0.8118 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.423e-06/0.7761, allocations: 3.938 kB / 0.8118 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006384/0.7767, allocations: 125.5 kB / 0.8119 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.7768, allocations: 11.94 kB / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.7768, allocations: 0 / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.7769, allocations: 0 / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.7771, allocations: 15.98 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.7771, allocations: 7.953 kB / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.7773, allocations: 12.06 kB / 0.812 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.7773, allocations: 7.984 kB / 0.812 GB, free: 10.28 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.0001684/0.7775, allocations: 113.8 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.7776, allocations: 7.906 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.559e-05/0.7777, allocations: 12.36 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.7777, allocations: 4 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.599e-06/0.7777, allocations: 3.938 kB / 0.8121 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.7777, allocations: 3.953 kB / 0.8121 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.7788, allocations: 382.8 kB / 0.8125 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.823e-06/0.7788, allocations: 0 / 0.8125 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.309e-05/0.7789, allocations: 7.984 kB / 0.8125 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.779, allocations: 4 kB / 0.8125 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.779, allocations: 4 kB / 0.8125 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.672e-06/0.7791, allocations: 11.89 kB / 0.8125 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.131e-06/0.7791, allocations: 80 / 0.8125 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006788/0.7798, allocations: 215.4 kB / 0.8127 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.7799, allocations: 81.02 kB / 0.8128 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.7799, allocations: 4 kB / 0.8128 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.7802, allocations: 12 kB / 0.8128 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.7803, allocations: 7.938 kB / 0.8128 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.7803, allocations: 4 kB / 0.8128 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001081/0.7804, allocations: 91.27 kB / 0.8129 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.252e-06/0.7805, allocations: 0 / 0.8129 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008012/0.7813, allocations: 51.92 kB / 0.813 GB, free: 9.172 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.0006344/0.7819, allocations: 170.4 kB / 0.8131 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005347/0.7825, allocations: 79.89 kB / 0.8132 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.7825, allocations: 0 / 0.8132 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.7828, allocations: 43.98 kB / 0.8133 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.7832, allocations: 8.984 kB / 0.8133 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007132/0.7839, allocations: 202.5 kB / 0.8135 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.7844, allocations: 0.6926 MB / 0.8141 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.398e-05/0.7845, allocations: 8.172 kB / 0.8141 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.7846, allocations: 11.44 kB / 0.8142 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of SimCode: time 1.825e-06/0.7846, allocations: 0 / 0.8142 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of Templates: time 0.008517/0.7931, allocations: 1.526 MB / 0.8156 GB, free: 6.395 MB / 0.6355 GB