Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01066/0.01067, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001193/0.001193, allocations: 170.4 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.089/2.089, allocations: 205.5 MB / 222.2 MB, free: 13.57 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.519/2.519, allocations: 252.8 MB / 0.511 GB, free: 8.281 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.0004951, allocations: 15.03 kB / 0.6243 GB, free: 21.2 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3034, allocations: 106.2 MB / 0.7281 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003166/0.3066, allocations: 1.277 MB / 0.7293 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00293/0.3096, allocations: 0.7811 MB / 0.7301 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.3097, allocations: 0 / 0.7301 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.3098, allocations: 3.938 kB / 0.7301 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.31, allocations: 19.91 kB / 0.7301 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009697/0.311, allocations: 115.7 kB / 0.7302 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000266/0.3113, allocations: 71.84 kB / 0.7303 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.3114, allocations: 23.95 kB / 0.7303 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.3116, allocations: 51.78 kB / 0.7303 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.3119, allocations: 67.78 kB / 0.7304 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.312, allocations: 4 kB / 0.7304 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.3124, allocations: 75.92 kB / 0.7305 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.274e-05/0.3125, allocations: 23.91 kB / 0.7305 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.364e-05/0.3126, allocations: 45.58 kB / 0.7305 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.313, allocations: 132 kB / 0.7307 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3131, allocations: 0 / 0.7307 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.464e-06/0.3131, allocations: 0 / 0.7307 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.3131, allocations: 4 kB / 0.7307 GB, free: 5.379 MB / 0.5573 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.00139/0.3145, allocations: 470.3 kB / 0.7311 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.835e-05/0.3146, allocations: 12.03 kB / 0.7311 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.288e-05/0.3147, allocations: 34.56 kB / 0.7312 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.356e-05/0.3148, allocations: 15.86 kB / 0.7312 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.315, allocations: 187.4 kB / 0.7314 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.3151, allocations: 7.984 kB / 0.7314 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.5e-05/0.3152, allocations: 8 kB / 0.7314 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/0.3158, allocations: 101.6 kB / 0.7315 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3159, allocations: 0 / 0.7315 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.3159, allocations: 4 kB / 0.7315 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3159, allocations: 0 / 0.7315 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000611/0.3165, allocations: 75.91 kB / 0.7316 GB, free: 4.367 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.3187, allocations: 380.5 kB / 0.7319 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.3192, allocations: 74.55 kB / 0.732 GB, free: 3.863 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.3193, allocations: 4.094 kB / 0.732 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000415/0.3197, allocations: 107.2 kB / 0.7321 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 2.905e-06/0.3198, allocations: 4 kB / 0.7321 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0009661/0.3207, allocations: 229.4 kB / 0.7323 GB, free: 3.508 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.3208, allocations: 55.55 kB / 0.7324 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.321, allocations: 153 kB / 0.7325 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.321, allocations: 29.7 kB / 0.7325 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.3211, allocations: 104.3 kB / 0.7326 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.3212, allocations: 19.75 kB / 0.7327 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.3212, allocations: 384 / 0.7327 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3213, allocations: 326.8 kB / 0.733 GB, free: 2.797 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.3215, allocations: 43.97 kB / 0.733 GB, free: 2.754 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.3218, allocations: 76.27 kB / 0.7331 GB, free: 2.664 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.3221, allocations: 55.92 kB / 0.7331 GB, free: 2.609 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3221, allocations: 0 / 0.7331 GB, free: 2.609 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005934/0.3227, allocations: 161.5 kB / 0.7333 GB, free: 2.445 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3227, allocations: 12 kB / 0.7333 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3228, allocations: 0 / 0.7333 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.3228, allocations: 7.953 kB / 0.7333 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.3231, allocations: 23.92 kB / 0.7333 GB, free: 2.402 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.3231, allocations: 4 kB / 0.7333 GB, free: 2.398 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.3233, allocations: 15.89 kB / 0.7334 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3233, allocations: 4 kB / 0.7334 GB, free: 2.379 MB / 0.5573 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.000141/0.3235, allocations: 125.8 kB / 0.7335 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.3235, allocations: 7.906 kB / 0.7335 GB, free: 2.238 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.3236, allocations: 12.7 kB / 0.7335 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.3236, allocations: 7.953 kB / 0.7335 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3236, allocations: 0 / 0.7335 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3236, allocations: 0 / 0.7335 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009964/0.3246, allocations: 478.2 kB / 0.734 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3246, allocations: 0 / 0.734 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.3247, allocations: 11.98 kB / 0.734 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.3248, allocations: 3.953 kB / 0.734 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.3248, allocations: 0 / 0.734 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.3248, allocations: 4.062 kB / 0.734 GB, free: 1.676 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.3248, allocations: 8 kB / 0.734 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000696/0.3255, allocations: 275.3 kB / 0.7343 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.3256, allocations: 84.95 kB / 0.7343 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.3257, allocations: 11.95 kB / 0.7343 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.3259, allocations: 11.98 kB / 0.7344 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.3259, allocations: 8.031 kB / 0.7344 GB, free: 1.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.326, allocations: 8.172 kB / 0.7344 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001039/0.3261, allocations: 111 kB / 0.7345 GB, free: 1.137 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.3e-07/0.3261, allocations: 3.938 kB / 0.7345 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004611/0.3266, allocations: 40 kB / 0.7345 GB, free: 1.094 MB / 0.5573 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.001369/0.328, allocations: 0.8759 MB / 0.7354 GB, free: 212 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005667/0.3286, allocations: 119.8 kB / 0.7355 GB, free: 92 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3286, allocations: 192 / 0.7355 GB, free: 92 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.3288, allocations: 63.97 kB / 0.7356 GB, free: 28 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.3291, allocations: 7.953 kB / 0.7356 GB, free: 20 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.3305, allocations: 1.096 MB / 0.7366 GB, free: 14.86 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.3308, allocations: 0.7043 MB / 0.7373 GB, free: 14.12 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 9.793e-05/0.3309, allocations: 8 kB / 0.7373 GB, free: 14.12 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.379e-05/0.3311, allocations: 27.42 kB / 0.7374 GB, free: 14.09 MB / 0.573 GB Notification: Performance of SimCode: time 1.593e-06/0.3311, allocations: 0 / 0.7374 GB, free: 14.09 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.3551, allocations: 2.998 MB / 0.7403 GB, free: 11.21 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005358/0.3557, allocations: 251.7 kB / 0.7405 GB, free: 10.87 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/2.934, allocations: 3.594 kB / 0.7405 GB, free: 10.87 MB / 0.573 GB