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.Gunay2016Light.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.Gunay2016Light,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",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.0107/0.0107, 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.00136/0.00136, 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.291/2.291, 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.5/2.5, allocations: 252.8 MB / 0.511 GB, free: 8.297 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004755, allocations: 15.69 kB / 0.6243 GB, free: 21.19 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2315, allocations: 106.2 MB / 0.7281 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002131/0.2337, allocations: 1.222 MB / 0.7292 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.2355, allocations: 0.7461 MB / 0.73 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.2355, allocations: 0 / 0.73 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.2356, allocations: 11.86 kB / 0.73 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.2357, allocations: 15.97 kB / 0.73 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.2363, allocations: 95.69 kB / 0.7301 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.2364, allocations: 55.92 kB / 0.7301 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.2365, allocations: 27.91 kB / 0.7302 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.2367, allocations: 39.84 kB / 0.7302 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.631e-05/0.2368, allocations: 39.83 kB / 0.7303 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.2368, allocations: 4 kB / 0.7303 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.237, allocations: 71.86 kB / 0.7303 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.2371, allocations: 19.91 kB / 0.7303 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.2371, allocations: 41.64 kB / 0.7304 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.2374, allocations: 108 kB / 0.7305 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.2374, allocations: 0 / 0.7305 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2374, allocations: 4 kB / 0.7305 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2374, allocations: 0 / 0.7305 GB, free: 5.562 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008994/0.2383, allocations: 484.2 kB / 0.731 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2384, allocations: 8.031 kB / 0.731 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/0.2384, allocations: 34.56 kB / 0.731 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.2385, allocations: 19.86 kB / 0.731 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.2387, allocations: 185.7 kB / 0.7312 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.2387, allocations: 8 kB / 0.7312 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.2387, allocations: 4 kB / 0.7312 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.239, allocations: 77.58 kB / 0.7313 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.239, allocations: 7.938 kB / 0.7313 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.2391, allocations: 4 kB / 0.7313 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2391, allocations: 0 / 0.7313 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.2394, allocations: 59.92 kB / 0.7313 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007828/0.2402, allocations: 332.8 kB / 0.7317 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.2405, allocations: 82.67 kB / 0.7317 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.2406, allocations: 0 / 0.7317 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003345/0.2409, allocations: 99.39 kB / 0.7318 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/0.2409, allocations: 0 / 0.7318 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0007226/0.2417, allocations: 193.4 kB / 0.732 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.2417, allocations: 59.55 kB / 0.7321 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.2419, allocations: 134 kB / 0.7322 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.242, allocations: 29.69 kB / 0.7322 GB, free: 3.555 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.242, allocations: 92.14 kB / 0.7323 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.2421, allocations: 27.64 kB / 0.7323 GB, free: 3.434 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/0.2421, allocations: 4 kB / 0.7323 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2423, allocations: 318.8 kB / 0.7327 GB, free: 3.109 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.2424, allocations: 39.91 kB / 0.7327 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.2426, allocations: 73.08 kB / 0.7328 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.2428, allocations: 43.97 kB / 0.7328 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2428, allocations: 0 / 0.7328 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004649/0.2433, allocations: 137.4 kB / 0.7329 GB, free: 2.797 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.2433, allocations: 8 kB / 0.7329 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2434, allocations: 0 / 0.7329 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.2434, allocations: 7.953 kB / 0.7329 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.2436, allocations: 24.02 kB / 0.733 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.2436, allocations: 0 / 0.733 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.2438, allocations: 23.83 kB / 0.733 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.2438, allocations: 8 kB / 0.733 GB, free: 2.727 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001349/0.244, allocations: 120.2 kB / 0.7331 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.244, allocations: 7.906 kB / 0.7331 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005452/0.2446, allocations: 170.3 kB / 0.7333 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.2446, allocations: 3.953 kB / 0.7333 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2446, allocations: 0 / 0.7333 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2446, allocations: 0 / 0.7333 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009354/0.2456, allocations: 458.3 kB / 0.7337 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2456, allocations: 0 / 0.7337 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.2457, allocations: 15.98 kB / 0.7337 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.178e-06/0.2458, allocations: 7.891 kB / 0.7337 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.2458, allocations: 4 kB / 0.7338 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2458, allocations: 0 / 0.7338 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2458, allocations: 3.984 kB / 0.7338 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.2463, allocations: 239.7 kB / 0.734 GB, free: 1.633 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.2464, allocations: 92.94 kB / 0.7341 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.2465, allocations: 15.89 kB / 0.7341 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.2467, allocations: 11.98 kB / 0.7341 GB, free: 1.496 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.2468, allocations: 11.98 kB / 0.7341 GB, free: 1.484 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.2468, allocations: 4 kB / 0.7341 GB, free: 1.48 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.309e-05/0.2469, allocations: 106.1 kB / 0.7342 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2469, allocations: 0 / 0.7342 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005124/0.2474, allocations: 43.98 kB / 0.7343 GB, free: 1.336 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.001217/0.2487, allocations: 0.8425 MB / 0.7351 GB, free: 492 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004148/0.2491, allocations: 95.89 kB / 0.7352 GB, free: 396 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2491, allocations: 3.938 kB / 0.7352 GB, free: 392 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.2493, allocations: 56.16 kB / 0.7352 GB, free: 336 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.2497, allocations: 19.89 kB / 0.7352 GB, free: 316 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.2511, allocations: 1.244 MB / 0.7365 GB, free: 14.99 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.2515, allocations: 0.7004 MB / 0.7371 GB, free: 14.26 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 9.85e-05/0.2516, allocations: 12.42 kB / 0.7372 GB, free: 14.25 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.2517, allocations: 35.42 kB / 0.7372 GB, free: 14.21 MB / 0.573 GB Notification: Performance of SimCode: time 9.11e-07/0.2517, allocations: 0 / 0.7372 GB, free: 14.21 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.2777, allocations: 2.911 MB / 0.74 GB, free: 11.41 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002997/0.2781, allocations: 248.4 kB / 0.7403 GB, free: 11.16 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/2.865, allocations: 3.938 kB / 0.7403 GB, free: 11.16 MB / 0.573 GB