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.Haldi2008WindowsTIn.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01106/0.01107, allocations: 107.5 kB / 15.06 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.00123/0.00123, allocations: 179.2 kB / 15.95 MB, free: 5.957 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.23/2.23, 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.439/2.439, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000727/0.0007274, allocations: 16 kB / 0.587 GB, free: 2.102 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7298/0.7306, allocations: 98.73 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002049/0.7327, allocations: 1.184 MB / 0.6846 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.7344, allocations: 0.7044 MB / 0.6853 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.7345, allocations: 1.5 kB / 0.6853 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.608e-05/0.7346, allocations: 0.5625 kB / 0.6853 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.7347, allocations: 18.73 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006684/0.7353, allocations: 88.53 kB / 0.6854 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.7355, allocations: 46.08 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.7356, allocations: 11.25 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.7357, allocations: 38.5 kB / 0.6855 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.942e-05/0.7358, allocations: 28.31 kB / 0.6855 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.7359, allocations: 4.031 kB / 0.6855 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.7361, allocations: 69.33 kB / 0.6856 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.7361, allocations: 9.922 kB / 0.6856 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.7362, allocations: 40.36 kB / 0.6856 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.7365, allocations: 98.61 kB / 0.6857 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.7365, allocations: 4 kB / 0.6857 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.445e-06/0.7365, allocations: 0 / 0.6857 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.7365, allocations: 1.469 kB / 0.6857 GB, free: 15.22 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.0007125/0.7372, allocations: 408.4 kB / 0.6861 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.7373, allocations: 13.03 kB / 0.6861 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.029e-05/0.7374, allocations: 34.45 kB / 0.6862 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.7374, allocations: 10.36 kB / 0.6862 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.7375, allocations: 180.6 kB / 0.6863 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.7376, allocations: 3.156 kB / 0.6863 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.7376, allocations: 8.016 kB / 0.6863 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.7379, allocations: 77.91 kB / 0.6864 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.7379, allocations: 1.094 kB / 0.6864 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.738, allocations: 0.75 kB / 0.6864 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.738, allocations: 1.344 kB / 0.6864 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.7382, allocations: 48.73 kB / 0.6865 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008342/0.7391, allocations: 309.8 kB / 0.6868 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.7393, allocations: 56.05 kB / 0.6868 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.7393, allocations: 1.75 kB / 0.6868 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/0.7397, allocations: 74.91 kB / 0.6869 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 3.456e-06/0.7397, allocations: 0 / 0.6869 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0006512/0.7403, allocations: 157 kB / 0.687 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.7404, allocations: 54.77 kB / 0.6871 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.7405, allocations: 118.2 kB / 0.6872 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.7406, allocations: 35.89 kB / 0.6872 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.7406, allocations: 91.83 kB / 0.6873 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.7407, allocations: 15.48 kB / 0.6873 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-06/0.7407, allocations: 4.938 kB / 0.6873 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.7408, allocations: 319.8 kB / 0.6877 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.7409, allocations: 33.39 kB / 0.6877 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.7411, allocations: 62.34 kB / 0.6877 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.7413, allocations: 34.38 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7413, allocations: 0.9688 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004398/0.7418, allocations: 116.2 kB / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.7418, allocations: 6.594 kB / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.7418, allocations: 8 kB / 0.6879 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.7419, allocations: 6.859 kB / 0.6879 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.742, allocations: 12.59 kB / 0.6879 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.7421, allocations: 1.312 kB / 0.6879 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.7422, allocations: 16.14 kB / 0.6879 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.7422, allocations: 6.953 kB / 0.6879 GB, free: 13.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.000119/0.7424, allocations: 116.6 kB / 0.6881 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.7424, allocations: 11.31 kB / 0.6881 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.7425, allocations: 14.8 kB / 0.6881 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.7425, allocations: 4.922 kB / 0.6881 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.7425, allocations: 0.7969 kB / 0.6881 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7425, allocations: 1.375 kB / 0.6881 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006677/0.7432, allocations: 381.2 kB / 0.6885 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.7432, allocations: 8 kB / 0.6885 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.553e-05/0.7433, allocations: 4.531 kB / 0.6885 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.7433, allocations: 5.172 kB / 0.6885 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.7433, allocations: 3.984 kB / 0.6885 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.7433, allocations: 0 / 0.6885 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7433, allocations: 3.938 kB / 0.6885 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.7438, allocations: 216.4 kB / 0.6887 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.7438, allocations: 84.64 kB / 0.6888 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.7439, allocations: 5.234 kB / 0.6888 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.744, allocations: 4.562 kB / 0.6888 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.7441, allocations: 9.734 kB / 0.6888 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.7441, allocations: 3.281 kB / 0.6888 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.685e-05/0.7442, allocations: 95.27 kB / 0.6889 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.7e-07/0.7442, allocations: 0.9688 kB / 0.6889 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004962/0.7447, allocations: 46.19 kB / 0.6889 GB, free: 12.39 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,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.001094/0.7458, allocations: 0.8123 MB / 0.6897 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000435/0.7463, allocations: 78.69 kB / 0.6898 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7463, allocations: 0 / 0.6898 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.7465, allocations: 39.34 kB / 0.6898 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.7468, allocations: 7.391 kB / 0.6898 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.7478, allocations: 0.8721 MB / 0.6907 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.748, allocations: 0.691 MB / 0.6914 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.878e-05/0.7481, allocations: 8.734 kB / 0.6914 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.7482, allocations: 20.98 kB / 0.6914 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of SimCode: time 1.563e-06/0.7482, allocations: 0 / 0.6914 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.7766, allocations: 2.317 MB / 0.6937 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/0.7769, allocations: 247 kB / 0.6939 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/3.37, allocations: 1.094 kB / 0.6939 GB, free: 9.551 MB / 0.5261 GB