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.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01003/0.01003, allocations: 107.8 kB / 15.06 MB, free: 5.562 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.001147/0.001147, allocations: 177.9 kB / 15.95 MB, free: 5.523 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.007/2.007, allocations: 194.6 MB / 211.3 MB, free: 10.95 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.241/2.241, allocations: 236.1 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004714, allocations: 16 kB / 0.5869 GB, free: 2.121 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5532/0.5537, allocations: 98.7 MB / 0.6833 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002812/0.5566, allocations: 1.193 MB / 0.6845 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002252/0.5589, allocations: 0.7046 MB / 0.6852 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.559, allocations: 0 / 0.6852 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.559, allocations: 5.906 kB / 0.6852 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.686e-05/0.5591, allocations: 10.72 kB / 0.6852 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007256/0.5599, allocations: 87.5 kB / 0.6853 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.56, allocations: 45.72 kB / 0.6853 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.5602, allocations: 15.34 kB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.5603, allocations: 33.92 kB / 0.6854 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.5604, allocations: 32.45 kB / 0.6854 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.5605, allocations: 7.766 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.5607, allocations: 65.33 kB / 0.6855 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.453e-05/0.5608, allocations: 14.75 kB / 0.6855 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.5609, allocations: 39.38 kB / 0.6855 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.5612, allocations: 90.7 kB / 0.6856 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.354e-06/0.5612, allocations: 0 / 0.6856 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.934e-06/0.5612, allocations: 3.938 kB / 0.6856 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.5612, allocations: 4 kB / 0.6856 GB, free: 15.28 MB / 0.5261 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.0007949/0.562, allocations: 405.2 kB / 0.686 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.5621, allocations: 9.625 kB / 0.686 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.089e-05/0.5622, allocations: 12.11 kB / 0.686 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.5624, allocations: 175.9 kB / 0.6862 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.5624, allocations: 2.922 kB / 0.6862 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.5625, allocations: 11.98 kB / 0.6862 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.5629, allocations: 87.58 kB / 0.6863 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.5629, allocations: 0 / 0.6863 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.563, allocations: 0 / 0.6863 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.563, allocations: 1.375 kB / 0.6863 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.5633, allocations: 45.77 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.5644, allocations: 314.2 kB / 0.6866 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.5647, allocations: 52.31 kB / 0.6867 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.5648, allocations: 6.312 kB / 0.6867 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003632/0.5651, allocations: 75.17 kB / 0.6868 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 4.226e-06/0.5652, allocations: 0 / 0.6868 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0008986/0.5661, allocations: 156.9 kB / 0.6869 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.5662, allocations: 58.34 kB / 0.687 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.5663, allocations: 119.2 kB / 0.6871 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.5664, allocations: 31.2 kB / 0.6871 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.5665, allocations: 92.5 kB / 0.6872 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.5665, allocations: 11 kB / 0.6872 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.5666, allocations: 0 / 0.6872 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.5667, allocations: 320.3 kB / 0.6875 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.5669, allocations: 34.05 kB / 0.6875 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.5672, allocations: 52.97 kB / 0.6876 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.5674, allocations: 34.7 kB / 0.6876 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.226e-06/0.5674, allocations: 4 kB / 0.6876 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006208/0.5681, allocations: 121.2 kB / 0.6878 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.5681, allocations: 7.516 kB / 0.6878 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.802e-06/0.5682, allocations: 0 / 0.6878 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.5682, allocations: 6.141 kB / 0.6878 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.5684, allocations: 17.89 kB / 0.6878 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.5685, allocations: 5.375 kB / 0.6878 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.5687, allocations: 13.41 kB / 0.6878 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.5687, allocations: 4.531 kB / 0.6878 GB, free: 13.35 MB / 0.5261 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 (win.occ,$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.000135/0.5689, allocations: 119.3 kB / 0.6879 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.5689, allocations: 7.156 kB / 0.6879 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.569, allocations: 9.297 kB / 0.6879 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.969e-06/0.569, allocations: 1.062 kB / 0.6879 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.569, allocations: 9.016 kB / 0.6879 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.599e-06/0.5691, allocations: 4 kB / 0.6879 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009439/0.57, allocations: 378.5 kB / 0.6883 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.447e-06/0.5701, allocations: 0 / 0.6883 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.566e-05/0.5702, allocations: 6.562 kB / 0.6883 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.404e-06/0.5702, allocations: 0 / 0.6883 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.5702, allocations: 7 kB / 0.6883 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.053e-06/0.5703, allocations: 4 kB / 0.6883 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.642e-06/0.5703, allocations: 1.125 kB / 0.6883 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/0.5709, allocations: 220.8 kB / 0.6885 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.571, allocations: 78.78 kB / 0.6886 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.571, allocations: 2.641 kB / 0.6886 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.5713, allocations: 13.55 kB / 0.6886 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.5714, allocations: 5.375 kB / 0.6886 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.5715, allocations: 3.328 kB / 0.6886 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.78e-05/0.5716, allocations: 96.05 kB / 0.6887 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.063e-06/0.5716, allocations: 3.938 kB / 0.6887 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008861/0.5725, allocations: 45.78 kB / 0.6888 GB, free: 12.5 MB / 0.5261 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,win.occ,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.0006158/0.5731, allocations: 176.2 kB / 0.6889 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005444/0.5737, allocations: 76.95 kB / 0.689 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5737, allocations: 0 / 0.689 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.574, allocations: 41.48 kB / 0.6891 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.5744, allocations: 3.094 kB / 0.6891 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/0.5752, allocations: 196.8 kB / 0.6892 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.5754, allocations: 0.6955 MB / 0.6899 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.057e-05/0.5755, allocations: 4.25 kB / 0.6899 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.5756, allocations: 16.41 kB / 0.6899 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of SimCode: time 2.115e-06/0.5756, allocations: 0 / 0.6899 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of Templates: time 0.008731/0.5843, allocations: 1.33 MB / 0.6912 GB, free: 11.34 MB / 0.5261 GB