Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4/4, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.303e-05, allocations: 5.156 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2106, allocations: 98.73 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2332/0.4439, allocations: 126.5 MB / 0.7582 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.4443, allocations: 75.95 kB / 0.7583 GB, free: 3.152 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Controls/OBC/CDL/Utilities/SunRiseSet.mo:57:7-57:32:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.4615, allocations: 3.375 MB / 0.7616 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4615, allocations: 0 / 0.7616 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.4616, allocations: 3.938 kB / 0.7616 GB, free: 15.77 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007874/0.4624, allocations: 418.5 kB / 0.762 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.4624, allocations: 8.031 kB / 0.762 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.791e-05/0.4625, allocations: 42.55 kB / 0.7621 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.4626, allocations: 11.86 kB / 0.7621 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.4627, allocations: 171 kB / 0.7622 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.319e-05/0.4628, allocations: 33.7 kB / 0.7623 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.4629, allocations: 4 kB / 0.7623 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.4631, allocations: 112.2 kB / 0.7624 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4632, allocations: 0 / 0.7624 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.4632, allocations: 0 / 0.7624 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.4632, allocations: 4 kB / 0.7624 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.4634, allocations: 47.97 kB / 0.7624 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008352/0.4642, allocations: 0.5166 MB / 0.7629 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000728/0.465, allocations: 131.8 kB / 0.7631 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.4651, allocations: 42.75 kB / 0.7631 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.4652, allocations: 4 kB / 0.7631 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.4654, allocations: 113.8 kB / 0.7632 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 3.006e-06/0.4654, allocations: 0 / 0.7632 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0003896/0.4658, allocations: 113.5 kB / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.787e-05/0.466, allocations: 102.8 kB / 0.7634 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.4661, allocations: 117 kB / 0.7635 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.4662, allocations: 33.64 kB / 0.7636 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.4663, allocations: 100.4 kB / 0.7637 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.4663, allocations: 31.56 kB / 0.7637 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.4663, allocations: 4.031 kB / 0.7637 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4665, allocations: 318.8 kB / 0.764 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.4666, allocations: 32 kB / 0.764 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.4667, allocations: 49.64 kB / 0.7641 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.4669, allocations: 36.36 kB / 0.7641 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4669, allocations: 0 / 0.7641 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003468/0.4672, allocations: 125.5 kB / 0.7642 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4673, allocations: 6.344 kB / 0.7642 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.4673, allocations: 11.94 kB / 0.7642 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4673, allocations: 0 / 0.7642 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.4676, allocations: 19.98 kB / 0.7643 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4676, allocations: 0 / 0.7643 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.4678, allocations: 19.84 kB / 0.7643 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.4678, allocations: 4 kB / 0.7643 GB, free: 12.73 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete 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.0001172/0.4679, allocations: 116.9 kB / 0.7644 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.468, allocations: 7.906 kB / 0.7644 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.4684, allocations: 114.2 kB / 0.7645 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.4684, allocations: 15.88 kB / 0.7645 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4684, allocations: 0 / 0.7645 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4684, allocations: 0 / 0.7645 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.4687, allocations: 221.4 kB / 0.7647 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4687, allocations: 4 kB / 0.7647 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.4689, allocations: 12 kB / 0.7647 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.4689, allocations: 11.98 kB / 0.7648 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.469, allocations: 4 kB / 0.7648 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.469, allocations: 4 kB / 0.7648 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.469, allocations: 3.953 kB / 0.7648 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.4694, allocations: 190.3 kB / 0.765 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.4695, allocations: 105 kB / 0.7651 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.4696, allocations: 12 kB / 0.7651 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.4697, allocations: 11.98 kB / 0.7651 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.4698, allocations: 12.08 kB / 0.7651 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.4698, allocations: 7.984 kB / 0.7651 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001074/0.47, allocations: 95.28 kB / 0.7652 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/0.47, allocations: 0 / 0.7652 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004184/0.4704, allocations: 67.92 kB / 0.7653 GB, free: 11.61 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000984/0.4714, allocations: 0.9227 MB / 0.7662 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.4717, allocations: 87.92 kB / 0.7662 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4718, allocations: 4 kB / 0.7662 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.4719, allocations: 51.88 kB / 0.7663 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.4721, allocations: 15.92 kB / 0.7663 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007672/0.4729, allocations: 216.7 kB / 0.7665 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.4733, allocations: 0.7082 MB / 0.7672 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.4734, allocations: 8.891 kB / 0.7672 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.4735, allocations: 35.41 kB / 0.7672 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of SimCode: time 1.383e-06/0.4736, allocations: 0 / 0.7672 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.5065, allocations: 2.668 MB / 0.7699 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002936/0.5069, allocations: 171.5 kB / 0.77 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/2.908, allocations: 3.938 kB / 0.77 GB, free: 6.652 MB / 0.6511 GB