Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.01463/0.01463, allocations: 89.69 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.001768/0.001768, allocations: 175.5 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.386/2.386, allocations: 205.5 MB / 222.2 MB, free: 13.58 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.437/2.437, allocations: 252.8 MB / 0.511 GB, free: 8.273 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006863/0.0006865, allocations: 10.38 kB / 0.6243 GB, free: 21.01 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3087, allocations: 106.2 MB / 0.7281 GB, free: 8.055 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.00301/0.3117, allocations: 1.218 MB / 0.7293 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002649/0.3144, allocations: 0.7461 MB / 0.73 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.3146, allocations: 0 / 0.73 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.3146, allocations: 3.938 kB / 0.73 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.3148, allocations: 23.95 kB / 0.73 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007739/0.3156, allocations: 91.7 kB / 0.7301 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.3158, allocations: 59.86 kB / 0.7302 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3159, allocations: 7.984 kB / 0.7302 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.3161, allocations: 39.89 kB / 0.7302 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.3162, allocations: 31.84 kB / 0.7302 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.3163, allocations: 8 kB / 0.7302 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.3166, allocations: 75.86 kB / 0.7303 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.177e-05/0.3167, allocations: 11.92 kB / 0.7303 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.795e-05/0.3167, allocations: 41.64 kB / 0.7304 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.3171, allocations: 108 kB / 0.7305 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3171, allocations: 0 / 0.7305 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3171, allocations: 0 / 0.7305 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.3171, allocations: 0 / 0.7305 GB, free: 5.566 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001221/0.3184, allocations: 462.5 kB / 0.7309 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3184, allocations: 12.03 kB / 0.7309 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.659e-05/0.3185, allocations: 34.56 kB / 0.731 GB, free: 5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.321e-05/0.3186, allocations: 11.86 kB / 0.731 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.3188, allocations: 175 kB / 0.7311 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.319, allocations: 41.58 kB / 0.7312 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.319, allocations: 4 kB / 0.7312 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.3194, allocations: 85.58 kB / 0.7313 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3195, allocations: 0 / 0.7313 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.3195, allocations: 0 / 0.7313 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3195, allocations: 0 / 0.7313 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004931/0.32, allocations: 59.91 kB / 0.7313 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008991/0.321, allocations: 328.6 kB / 0.7316 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.3215, allocations: 74.53 kB / 0.7317 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.3215, allocations: 0 / 0.7317 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000473/0.322, allocations: 103.4 kB / 0.7318 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 3.055e-06/0.3221, allocations: 0 / 0.7318 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.001086/0.3231, allocations: 177.4 kB / 0.732 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.3232, allocations: 51.41 kB / 0.732 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.3234, allocations: 136.7 kB / 0.7321 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.3235, allocations: 33.7 kB / 0.7322 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.3236, allocations: 92.36 kB / 0.7323 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.3237, allocations: 23.81 kB / 0.7323 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.3237, allocations: 4 kB / 0.7323 GB, free: 3.469 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3239, allocations: 318.8 kB / 0.7326 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.3242, allocations: 39.97 kB / 0.7326 GB, free: 3.109 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.3245, allocations: 65.12 kB / 0.7327 GB, free: 3.027 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.3248, allocations: 44.36 kB / 0.7327 GB, free: 2.984 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3249, allocations: 0 / 0.7327 GB, free: 2.984 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007577/0.3256, allocations: 133.4 kB / 0.7329 GB, free: 2.848 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.3257, allocations: 4.125 kB / 0.7329 GB, free: 2.844 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3257, allocations: 19.83 kB / 0.7329 GB, free: 2.824 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3257, allocations: 0 / 0.7329 GB, free: 2.824 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.326, allocations: 15.98 kB / 0.7329 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.326, allocations: 7.984 kB / 0.7329 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.3263, allocations: 12 kB / 0.7329 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.3264, allocations: 11.98 kB / 0.7329 GB, free: 2.777 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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.0001757/0.3266, allocations: 125.9 kB / 0.7331 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.3267, allocations: 11.89 kB / 0.7331 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.3267, allocations: 12.72 kB / 0.7331 GB, free: 2.621 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.3268, allocations: 3.953 kB / 0.7331 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3268, allocations: 3.938 kB / 0.7331 GB, free: 2.613 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3268, allocations: 3.984 kB / 0.7331 GB, free: 2.609 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.3282, allocations: 442.3 kB / 0.7335 GB, free: 2.121 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3282, allocations: 0 / 0.7335 GB, free: 2.121 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.3284, allocations: 11.94 kB / 0.7335 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.3284, allocations: 4 kB / 0.7335 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.3285, allocations: 0 / 0.7335 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.3285, allocations: 0 / 0.7335 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.3285, allocations: 7.922 kB / 0.7335 GB, free: 2.098 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007957/0.3293, allocations: 227.4 kB / 0.7337 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.543e-05/0.3294, allocations: 85.02 kB / 0.7338 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.3295, allocations: 7.953 kB / 0.7338 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.3298, allocations: 19.92 kB / 0.7339 GB, free: 1.73 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.3299, allocations: 11.97 kB / 0.7339 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.3299, allocations: 4 kB / 0.7339 GB, free: 1.715 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001189/0.3301, allocations: 99.27 kB / 0.734 GB, free: 1.617 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.01e-07/0.3301, allocations: 0 / 0.734 GB, free: 1.617 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006866/0.3308, allocations: 43.98 kB / 0.734 GB, free: 1.574 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: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.001564/0.3324, allocations: 0.8239 MB / 0.7348 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006536/0.333, allocations: 95.88 kB / 0.7349 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3331, allocations: 0 / 0.7349 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.3334, allocations: 51.91 kB / 0.735 GB, free: 0.5977 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.3339, allocations: 15.94 kB / 0.735 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.3357, allocations: 1.229 MB / 0.7362 GB, free: 15.28 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.3361, allocations: 0.7004 MB / 0.7369 GB, free: 14.55 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001413/0.3363, allocations: 8.844 kB / 0.7369 GB, free: 14.54 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.3364, allocations: 35.36 kB / 0.7369 GB, free: 14.51 MB / 0.573 GB Notification: Performance of SimCode: time 9.22e-07/0.3365, allocations: 0 / 0.7369 GB, free: 14.51 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.3656, allocations: 2.701 MB / 0.7395 GB, free: 11.91 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000396/0.3661, allocations: 255.3 kB / 0.7398 GB, free: 11.65 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/2.958, allocations: 0 / 0.7398 GB, free: 11.65 MB / 0.573 GB