Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadModel(Buildings): time 4.151/4.151, allocations: 433.3 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.015e-05, allocations: 4 kB / 0.5325 GB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.584/0.5841, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1949/0.779, allocations: 125.8 MB / 0.7518 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.7793, allocations: 75.89 kB / 0.7519 GB, free: 1.668 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.01503/0.7944, allocations: 3.367 MB / 0.7551 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.267e-06/0.7944, allocations: 0 / 0.7551 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.7944, allocations: 0 / 0.7551 GB, free: 14.3 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.0006388/0.7951, allocations: 410.5 kB / 0.7555 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.7951, allocations: 8.031 kB / 0.7555 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.7952, allocations: 11.86 kB / 0.7556 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.7954, allocations: 175 kB / 0.7557 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.7954, allocations: 4 kB / 0.7557 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.7955, allocations: 4 kB / 0.7557 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001471/0.7956, allocations: 35.98 kB / 0.7558 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.7959, allocations: 96.23 kB / 0.7559 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.7959, allocations: 0 / 0.7559 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.7959, allocations: 3.938 kB / 0.7559 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.7959, allocations: 4 kB / 0.7559 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007574/0.7967, allocations: 0.4976 MB / 0.7564 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.7972, allocations: 130 kB / 0.7565 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.933e-05/0.7973, allocations: 38.58 kB / 0.7565 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.7974, allocations: 4 kB / 0.7565 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.7976, allocations: 117.9 kB / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.675e-06/0.7976, allocations: 0 / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0009556/0.7986, allocations: 165.4 kB / 0.7568 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.7987, allocations: 102.8 kB / 0.7569 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.7988, allocations: 113 kB / 0.757 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.7989, allocations: 25.7 kB / 0.757 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.799, allocations: 96.33 kB / 0.7571 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.799, allocations: 31.55 kB / 0.7571 GB, free: 12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.799, allocations: 7.969 kB / 0.7571 GB, free: 12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.7992, allocations: 322.8 kB / 0.7575 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/0.7993, allocations: 24 kB / 0.7575 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.7994, allocations: 49.7 kB / 0.7575 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.8005, allocations: 111.9 kB / 0.7576 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.157e-06/0.8005, allocations: 0 / 0.7576 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001259/0.8018, allocations: 209.3 kB / 0.7578 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.8018, allocations: 5.562 kB / 0.7578 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8019, allocations: 4 kB / 0.7578 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.8019, allocations: 4 kB / 0.7578 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.802, allocations: 15.98 kB / 0.7579 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.635e-06/0.8021, allocations: 7.891 kB / 0.7579 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.8022, allocations: 15.89 kB / 0.7579 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.4e-05/0.8022, allocations: 4 kB / 0.7579 GB, free: 11.22 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.0001088/0.8024, allocations: 106.5 kB / 0.758 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.8024, allocations: 11.91 kB / 0.758 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.8027, allocations: 110.3 kB / 0.7581 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.319e-06/0.8027, allocations: 4 kB / 0.7581 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8028, allocations: 0 / 0.7581 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.966e-06/0.8028, allocations: 3.953 kB / 0.7581 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.803, allocations: 190.1 kB / 0.7583 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.987e-06/0.803, allocations: 0 / 0.7583 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.8032, allocations: 16 kB / 0.7583 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.8032, allocations: 11.98 kB / 0.7583 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.8032, allocations: 4 kB / 0.7583 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.8032, allocations: 3.938 kB / 0.7583 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.907e-06/0.8033, allocations: 7.938 kB / 0.7583 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00097/0.8042, allocations: 238.2 kB / 0.7586 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.8044, allocations: 97 kB / 0.7587 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.8044, allocations: 8.109 kB / 0.7587 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.8046, allocations: 12 kB / 0.7587 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.8046, allocations: 11.94 kB / 0.7587 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.8047, allocations: 8 kB / 0.7587 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.455e-05/0.8048, allocations: 99.27 kB / 0.7588 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.12e-07/0.8048, allocations: 0 / 0.7588 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000399/0.8052, allocations: 59.88 kB / 0.7588 GB, free: 10.13 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.0002879/0.8055, allocations: 159.1 kB / 0.759 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007689/0.8063, allocations: 0.7493 MB / 0.7597 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.021e-06/0.8063, allocations: 4 kB / 0.7597 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.8064, allocations: 47.92 kB / 0.7598 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.8066, allocations: 15.95 kB / 0.7598 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/0.8071, allocations: 150.2 kB / 0.7599 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.8075, allocations: 0.7002 MB / 0.7606 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.8076, allocations: 21.09 kB / 0.7606 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.8077, allocations: 15.44 kB / 0.7607 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of SimCode: time 1.452e-06/0.8077, allocations: 0 / 0.7607 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of Templates: time 0.005408/0.8131, allocations: 1.461 MB / 0.7621 GB, free: 6.734 MB / 0.6355 GB