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.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01212/0.01212, allocations: 106.6 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.001154/0.001154, allocations: 184 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.025/2.025, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.546/2.546, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004792, allocations: 12 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6127/0.6132, allocations: 98.72 MB / 0.6833 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001762/0.615, allocations: 1.267 MB / 0.6846 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.6165, allocations: 0.7522 MB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.6166, allocations: 5.188 kB / 0.6853 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.6166, allocations: 5.859 kB / 0.6853 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.392e-05/0.6167, allocations: 21.55 kB / 0.6853 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.6173, allocations: 109.6 kB / 0.6854 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.6174, allocations: 76.97 kB / 0.6855 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.6175, allocations: 18.86 kB / 0.6855 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.6177, allocations: 52.62 kB / 0.6856 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.6178, allocations: 66.28 kB / 0.6857 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.6178, allocations: 5.125 kB / 0.6857 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.618, allocations: 72.05 kB / 0.6857 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.6181, allocations: 25.55 kB / 0.6857 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.6181, allocations: 42.58 kB / 0.6858 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.6184, allocations: 126.3 kB / 0.6859 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.649e-06/0.6184, allocations: 0 / 0.6859 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.205e-06/0.6184, allocations: 0 / 0.6859 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.715e-06/0.6185, allocations: 5.25 kB / 0.6859 GB, free: 15.04 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006476/0.6191, allocations: 469 kB / 0.6864 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.6192, allocations: 8.406 kB / 0.6864 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.6192, allocations: 15.28 kB / 0.6864 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.853e-05/0.6193, allocations: 181.1 kB / 0.6866 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.6194, allocations: 7.438 kB / 0.6866 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.6194, allocations: 10.28 kB / 0.6866 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.6197, allocations: 103.7 kB / 0.6867 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.481e-06/0.6197, allocations: 0 / 0.6867 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.6198, allocations: 2.078 kB / 0.6867 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.865e-06/0.6198, allocations: 1.25 kB / 0.6867 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.6201, allocations: 74.27 kB / 0.6867 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000912/0.621, allocations: 387.3 kB / 0.6871 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.6213, allocations: 75.72 kB / 0.6872 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.6213, allocations: 0.9688 kB / 0.6872 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/0.6216, allocations: 111 kB / 0.6873 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 3.774e-06/0.6216, allocations: 0 / 0.6873 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0007586/0.6224, allocations: 237.7 kB / 0.6875 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.6225, allocations: 55.02 kB / 0.6876 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.6226, allocations: 138.6 kB / 0.6877 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.6226, allocations: 30.73 kB / 0.6877 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.6227, allocations: 99.95 kB / 0.6878 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.6227, allocations: 15.81 kB / 0.6878 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.6228, allocations: 5 kB / 0.6879 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.056e-05/0.6228, allocations: 325.3 kB / 0.6882 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.623, allocations: 45.8 kB / 0.6882 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.6232, allocations: 74.3 kB / 0.6883 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.6234, allocations: 55.19 kB / 0.6883 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.721e-06/0.6234, allocations: 5.516 kB / 0.6883 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004765/0.6239, allocations: 163.5 kB / 0.6885 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.6239, allocations: 6.484 kB / 0.6885 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.201e-06/0.6239, allocations: 1.031 kB / 0.6885 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.624, allocations: 5.484 kB / 0.6885 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.6242, allocations: 24.02 kB / 0.6885 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.461e-06/0.6242, allocations: 2.484 kB / 0.6885 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.6243, allocations: 30.83 kB / 0.6886 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.6244, allocations: 4.531 kB / 0.6886 GB, free: 12.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001052/0.6245, allocations: 118.2 kB / 0.6887 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.6245, allocations: 8.766 kB / 0.6887 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.6246, allocations: 20.39 kB / 0.6887 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.684e-06/0.6246, allocations: 1.125 kB / 0.6887 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.844e-06/0.6246, allocations: 8.891 kB / 0.6887 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.435e-06/0.6246, allocations: 5.031 kB / 0.6887 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008081/0.6254, allocations: 469.7 kB / 0.6892 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.524e-06/0.6255, allocations: 0 / 0.6892 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.301e-05/0.6256, allocations: 11.39 kB / 0.6892 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.994e-06/0.6256, allocations: 5.375 kB / 0.6892 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.6256, allocations: 7.094 kB / 0.6892 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.66e-06/0.6256, allocations: 0.7969 kB / 0.6892 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.139e-06/0.6256, allocations: 0 / 0.6892 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.6262, allocations: 280.6 kB / 0.6895 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.6262, allocations: 88.91 kB / 0.6895 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.6263, allocations: 2.953 kB / 0.6895 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.6265, allocations: 11.88 kB / 0.6896 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.6265, allocations: 10.75 kB / 0.6896 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.6266, allocations: 4.703 kB / 0.6896 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.67e-05/0.6267, allocations: 107.4 kB / 0.6897 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.006e-06/0.6267, allocations: 4 kB / 0.6897 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004647/0.6272, allocations: 44.84 kB / 0.6897 GB, free: 12 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004229/0.6276, allocations: 171.4 kB / 0.6899 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.6281, allocations: 123 kB / 0.69 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.084e-06/0.6281, allocations: 0 / 0.69 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.6283, allocations: 60.23 kB / 0.6901 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.6286, allocations: 13.59 kB / 0.6901 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.6292, allocations: 252.5 kB / 0.6903 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.6294, allocations: 0.7037 MB / 0.691 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.055e-05/0.6295, allocations: 9.859 kB / 0.691 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.6295, allocations: 12.39 kB / 0.691 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of SimCode: time 1.638e-06/0.6296, allocations: 1.531 kB / 0.691 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of Templates: time 0.006406/0.636, allocations: 1.79 MB / 0.6928 GB, free: 10.77 MB / 0.5261 GB