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.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008823/0.008823, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001135/0.001135, allocations: 184.1 kB / 15.94 MB, free: 5.926 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 1.822/1.822, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.236/2.236, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005063/0.0005064, allocations: 12 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6265/0.627, allocations: 98.71 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2023/0.8294, allocations: 126.5 MB / 0.8069 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.8297, allocations: 83.95 kB / 0.8069 GB, free: 15.71 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.01378/0.8435, allocations: 2.948 MB / 0.8098 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.552e-06/0.8436, allocations: 0 / 0.8098 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.559e-06/0.8436, allocations: 4 kB / 0.8098 GB, free: 12.75 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.0006679/0.8443, allocations: 420.8 kB / 0.8102 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.8443, allocations: 8.031 kB / 0.8102 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.8444, allocations: 11.86 kB / 0.8103 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.8445, allocations: 171 kB / 0.8104 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.8446, allocations: 4 kB / 0.8104 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.8446, allocations: 7.938 kB / 0.8104 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.8448, allocations: 73.66 kB / 0.8105 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.888e-06/0.8449, allocations: 0 / 0.8105 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.8449, allocations: 0 / 0.8105 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.631e-06/0.8449, allocations: 0 / 0.8105 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.8451, allocations: 43.97 kB / 0.8105 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.8458, allocations: 323.1 kB / 0.8108 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.846, allocations: 50.5 kB / 0.8109 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.846, allocations: 0 / 0.8109 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.8463, allocations: 83.5 kB / 0.811 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.192e-06/0.8463, allocations: 0 / 0.811 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.00053/0.8468, allocations: 157.4 kB / 0.8111 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.8469, allocations: 51.41 kB / 0.8112 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.8471, allocations: 120.8 kB / 0.8113 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.8471, allocations: 33.7 kB / 0.8113 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.8472, allocations: 88.27 kB / 0.8114 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.8473, allocations: 23.86 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-06/0.8473, allocations: 0 / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.8474, allocations: 318.8 kB / 0.8117 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.8476, allocations: 31.97 kB / 0.8118 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.8477, allocations: 46.56 kB / 0.8118 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.8479, allocations: 36.3 kB / 0.8118 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.019e-06/0.8479, allocations: 4 kB / 0.8118 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003473/0.8483, allocations: 117.5 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.8483, allocations: 4 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.199e-06/0.8483, allocations: 4 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.8483, allocations: 0 / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.8485, allocations: 19.92 kB / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.8485, allocations: 8.016 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.653e-05/0.8486, allocations: 8 kB / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.8486, allocations: 4 kB / 0.812 GB, free: 10.3 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.0001181/0.8487, allocations: 113.8 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.8488, allocations: 11.89 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/0.8488, allocations: 8.375 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.403e-06/0.8488, allocations: 3.984 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.04e-06/0.8489, allocations: 0 / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.973e-06/0.8489, allocations: 11.95 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.8495, allocations: 382.5 kB / 0.8125 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-06/0.8495, allocations: 0 / 0.8125 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.8496, allocations: 4 kB / 0.8125 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.636e-06/0.8496, allocations: 0 / 0.8125 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.8497, allocations: 11.92 kB / 0.8125 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.647e-06/0.8497, allocations: 7.953 kB / 0.8125 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8497, allocations: 0 / 0.8125 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.8501, allocations: 211.4 kB / 0.8127 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.149e-05/0.8502, allocations: 93 kB / 0.8128 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.8502, allocations: 0 / 0.8128 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.8503, allocations: 8 kB / 0.8128 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.8504, allocations: 11.94 kB / 0.8128 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.8504, allocations: 4 kB / 0.8128 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.292e-05/0.8505, allocations: 91.27 kB / 0.8129 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.07e-07/0.8505, allocations: 0 / 0.8129 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004298/0.8509, allocations: 47.94 kB / 0.813 GB, free: 9.188 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.0004421/0.8514, allocations: 181.6 kB / 0.8132 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.8517, allocations: 75.89 kB / 0.8132 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.717e-06/0.8518, allocations: 0 / 0.8132 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.8519, allocations: 44.48 kB / 0.8133 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.8521, allocations: 6.438 kB / 0.8133 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.8526, allocations: 201.1 kB / 0.8135 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.853, allocations: 0.6926 MB / 0.8141 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.289e-05/0.8531, allocations: 8.328 kB / 0.8141 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.8531, allocations: 11.44 kB / 0.8142 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of SimCode: time 1.718e-06/0.8531, allocations: 0 / 0.8142 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of Templates: time 0.005257/0.8584, allocations: 1.528 MB / 0.8157 GB, free: 6.402 MB / 0.6355 GB