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.Love1998Light1.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.Love1998Light1,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.009864/0.00987, 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.001159/0.001158, allocations: 173.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.393/2.393, 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.378/2.378, allocations: 252.8 MB / 0.511 GB, free: 8.27 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008029/0.0008031, allocations: 13.41 kB / 0.6243 GB, free: 21.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2352, allocations: 106.2 MB / 0.7281 GB, free: 8.082 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002232/0.2375, allocations: 1.21 MB / 0.7292 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.2393, allocations: 0.7499 MB / 0.73 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.852e-05/0.2394, allocations: 0 / 0.73 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.2395, allocations: 3.938 kB / 0.73 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.2396, allocations: 19.95 kB / 0.73 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.2402, allocations: 91.7 kB / 0.7301 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.2403, allocations: 47.92 kB / 0.7301 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.639e-05/0.2404, allocations: 19.98 kB / 0.7301 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.2406, allocations: 35.83 kB / 0.7302 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.2407, allocations: 31.91 kB / 0.7302 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.2407, allocations: 4 kB / 0.7302 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.241, allocations: 75.8 kB / 0.7303 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.945e-05/0.241, allocations: 11.98 kB / 0.7303 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.2411, allocations: 37.64 kB / 0.7303 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.2413, allocations: 108 kB / 0.7304 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2414, allocations: 0 / 0.7304 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2414, allocations: 0 / 0.7304 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2414, allocations: 4 kB / 0.7304 GB, free: 5.609 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.0008895/0.2423, allocations: 442.5 kB / 0.7309 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.2423, allocations: 8.031 kB / 0.7309 GB, free: 5.109 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.2424, allocations: 34.56 kB / 0.7309 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.2425, allocations: 15.8 kB / 0.7309 GB, free: 5.051 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.2426, allocations: 175 kB / 0.7311 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.2427, allocations: 7.938 kB / 0.7311 GB, free: 4.832 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.2427, allocations: 11.98 kB / 0.7311 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.243, allocations: 77.64 kB / 0.7312 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.243, allocations: 0 / 0.7312 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.243, allocations: 0 / 0.7312 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.243, allocations: 0 / 0.7312 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.2433, allocations: 51.86 kB / 0.7312 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007424/0.244, allocations: 332.6 kB / 0.7315 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.2443, allocations: 58.55 kB / 0.7316 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.2443, allocations: 8 kB / 0.7316 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003439/0.2447, allocations: 95.39 kB / 0.7317 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/0.2447, allocations: 0 / 0.7317 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0006252/0.2454, allocations: 165.4 kB / 0.7319 GB, free: 3.965 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.2454, allocations: 59.41 kB / 0.7319 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.2456, allocations: 129.8 kB / 0.732 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.2456, allocations: 29.7 kB / 0.7321 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.2457, allocations: 88.38 kB / 0.7322 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.2458, allocations: 27.84 kB / 0.7322 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/0.2458, allocations: 4 kB / 0.7322 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2459, allocations: 318.8 kB / 0.7325 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.2461, allocations: 27.98 kB / 0.7325 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.2462, allocations: 69.64 kB / 0.7326 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.2464, allocations: 31.92 kB / 0.7326 GB, free: 3.137 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.2464, allocations: 8 kB / 0.7326 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003993/0.2468, allocations: 133.4 kB / 0.7327 GB, free: 2.992 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.2469, allocations: 4 kB / 0.7327 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.2469, allocations: 4 kB / 0.7328 GB, free: 2.984 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.2469, allocations: 3.953 kB / 0.7328 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.2471, allocations: 15.98 kB / 0.7328 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.2471, allocations: 8.125 kB / 0.7328 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.2473, allocations: 23.83 kB / 0.7328 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.2474, allocations: 4 kB / 0.7328 GB, free: 2.93 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.0001374/0.2475, allocations: 121.8 kB / 0.7329 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.2476, allocations: 8.281 kB / 0.7329 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000506/0.2481, allocations: 149.9 kB / 0.7331 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.2481, allocations: 4 kB / 0.7331 GB, free: 2.637 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.2481, allocations: 7.891 kB / 0.7331 GB, free: 2.629 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.2481, allocations: 7.922 kB / 0.7331 GB, free: 2.621 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009178/0.2491, allocations: 434.4 kB / 0.7335 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.2491, allocations: 4 kB / 0.7335 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.2492, allocations: 15.92 kB / 0.7335 GB, free: 2.121 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.2492, allocations: 4.047 kB / 0.7335 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.2493, allocations: 7.984 kB / 0.7335 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2493, allocations: 0 / 0.7335 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2493, allocations: 0 / 0.7335 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/0.2498, allocations: 235.3 kB / 0.7338 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/0.2499, allocations: 88.95 kB / 0.7338 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.2499, allocations: 3.953 kB / 0.7338 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.2501, allocations: 11.98 kB / 0.7339 GB, free: 1.742 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.2502, allocations: 11.98 kB / 0.7339 GB, free: 1.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.2502, allocations: 4 kB / 0.7339 GB, free: 1.727 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.502e-05/0.2503, allocations: 99.52 kB / 0.734 GB, free: 1.629 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2503, allocations: 4 kB / 0.734 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004534/0.2508, allocations: 47.98 kB / 0.734 GB, free: 1.578 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 (12): * Single equations (assignments): 9 * 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.001131/0.2519, allocations: 0.827 MB / 0.7348 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003915/0.2523, allocations: 83.84 kB / 0.7349 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2524, allocations: 0 / 0.7349 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.2526, allocations: 56.16 kB / 0.735 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.2529, allocations: 19.94 kB / 0.735 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.2543, allocations: 1.217 MB / 0.7362 GB, free: 15.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.2547, allocations: 0.7004 MB / 0.7369 GB, free: 14.57 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 9.124e-05/0.2548, allocations: 4.438 kB / 0.7369 GB, free: 14.56 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.2549, allocations: 23.42 kB / 0.7369 GB, free: 14.54 MB / 0.573 GB Notification: Performance of SimCode: time 1.432e-06/0.2549, allocations: 8 kB / 0.7369 GB, free: 14.54 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.2821, allocations: 2.697 MB / 0.7395 GB, free: 11.94 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003143/0.2825, allocations: 248.4 kB / 0.7398 GB, free: 11.69 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/2.842, allocations: 0 / 0.7398 GB, free: 11.69 MB / 0.573 GB