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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.175/4.175, allocations: 433.2 MB / 440.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.615e-05, allocations: 2.219 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2152, allocations: 98.73 MB / 0.6289 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2559/0.4711, allocations: 125.8 MB / 0.7518 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.4715, allocations: 75.95 kB / 0.7518 GB, free: 11.11 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.01666/0.4882, allocations: 3.369 MB / 0.7551 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.038e-06/0.4882, allocations: 7.938 kB / 0.7551 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.4883, allocations: 4 kB / 0.7551 GB, free: 7.719 MB / 0.6355 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.0007299/0.489, allocations: 406.6 kB / 0.7555 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.4891, allocations: 12.02 kB / 0.7555 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.599e-05/0.4891, allocations: 11.86 kB / 0.7555 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.4893, allocations: 175 kB / 0.7557 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.4893, allocations: 4 kB / 0.7557 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.4894, allocations: 4 kB / 0.7557 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001531/0.4895, allocations: 39.92 kB / 0.7558 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.4898, allocations: 92.23 kB / 0.7558 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4898, allocations: 4 kB / 0.7558 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.4898, allocations: 0 / 0.7558 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.4898, allocations: 4 kB / 0.7559 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008481/0.4907, allocations: 0.4943 MB / 0.7563 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007206/0.4914, allocations: 127.8 kB / 0.7565 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.4916, allocations: 42.58 kB / 0.7565 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.4916, allocations: 4 kB / 0.7565 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.4919, allocations: 106 kB / 0.7566 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 3.216e-06/0.4919, allocations: 0 / 0.7566 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001115/0.493, allocations: 153.5 kB / 0.7567 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.4931, allocations: 118.8 kB / 0.7569 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.4933, allocations: 118.5 kB / 0.757 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.4933, allocations: 25.7 kB / 0.757 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.4934, allocations: 92.33 kB / 0.7571 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.4935, allocations: 35.55 kB / 0.7571 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.4935, allocations: 0 / 0.7571 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4936, allocations: 314.8 kB / 0.7574 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-05/0.4938, allocations: 35.98 kB / 0.7575 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.4939, allocations: 41.72 kB / 0.7575 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.4951, allocations: 123.8 kB / 0.7576 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4951, allocations: 0 / 0.7576 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001428/0.4966, allocations: 201.4 kB / 0.7578 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4966, allocations: 4.938 kB / 0.7578 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4966, allocations: 0 / 0.7578 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4967, allocations: 3.938 kB / 0.7578 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.4969, allocations: 27.94 kB / 0.7578 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4969, allocations: 0 / 0.7578 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.4971, allocations: 15.91 kB / 0.7579 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.4971, allocations: 7.984 kB / 0.7579 GB, free: 4.648 MB / 0.6355 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): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * 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.0001448/0.4973, allocations: 110.5 kB / 0.758 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001017/0.4983, allocations: 161.4 kB / 0.7581 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.4984, allocations: 4 kB / 0.7581 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.4987, allocations: 122.2 kB / 0.7582 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.4988, allocations: 4 kB / 0.7582 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4988, allocations: 3.938 kB / 0.7582 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4988, allocations: 0 / 0.7582 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.4991, allocations: 190.1 kB / 0.7584 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4991, allocations: 0 / 0.7584 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.4993, allocations: 19.98 kB / 0.7584 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.4993, allocations: 0 / 0.7584 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.4994, allocations: 4 kB / 0.7585 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.4994, allocations: 8 kB / 0.7585 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.4994, allocations: 7.938 kB / 0.7585 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.5005, allocations: 238.2 kB / 0.7587 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.5007, allocations: 96.95 kB / 0.7588 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.5008, allocations: 8 kB / 0.7588 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.5009, allocations: 11.98 kB / 0.7588 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.501, allocations: 11.98 kB / 0.7588 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.501, allocations: 4 kB / 0.7588 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001002/0.5011, allocations: 103.3 kB / 0.7589 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.4e-07/0.5012, allocations: 0 / 0.7589 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004312/0.5016, allocations: 55.88 kB / 0.759 GB, free: 3.395 MB / 0.6355 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.00165/0.5033, allocations: 0.9656 MB / 0.7599 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007492/0.504, allocations: 0.757 MB / 0.7607 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5041, allocations: 0 / 0.7607 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.5042, allocations: 47.92 kB / 0.7607 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.5045, allocations: 11.95 kB / 0.7607 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/0.5052, allocations: 207.8 kB / 0.7609 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.5056, allocations: 0.7041 MB / 0.7616 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000123/0.5057, allocations: 12.88 kB / 0.7616 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.5059, allocations: 31.8 kB / 0.7616 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of SimCode: time 9.01e-07/0.5059, allocations: 3.938 kB / 0.7616 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04227/0.5481, allocations: 2.36 MB / 0.764 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003074/0.5485, allocations: 154.9 kB / 0.7641 GB, free: 14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/2.922, allocations: 3.938 kB / 0.7641 GB, free: 13.99 MB / 0.6511 GB