Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.241/2.241, allocations: 248.7 MB / 256.2 MB, free: 7.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001566, allocations: 187.1 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.3 MB / 0.5662 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 86.48 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.233e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2123, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8977/1.11, allocations: 133.7 MB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/1.11, allocations: 73.95 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Controls/OBC/CDL/Utilities/SunRiseSet.mo:54:7-54: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.01678/1.127, allocations: 3.39 MB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/1.127, allocations: 0 / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.221e-05/1.127, allocations: 7.5 kB / 1.018 GB, free: 2.234 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.0008196/1.128, allocations: 412.8 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/1.128, allocations: 12.03 kB / 1.018 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.557e-05/1.128, allocations: 7.906 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/1.129, allocations: 174.5 kB / 1.019 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/1.129, allocations: 4 kB / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/1.129, allocations: 4 kB / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001797/1.129, allocations: 35.56 kB / 1.019 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/1.129, allocations: 92.42 kB / 1.019 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/1.129, allocations: 7.984 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/1.129, allocations: 0 / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/1.129, allocations: 4 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009535/1.13, allocations: 0.4957 MB / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/1.131, allocations: 119.2 kB / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.894e-05/1.131, allocations: 46.14 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/1.131, allocations: 11.97 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002569/1.131, allocations: 101.3 kB / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.766e-06/1.131, allocations: 4 kB / 1.019 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001131/1.132, allocations: 164.8 kB / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/1.133, allocations: 106.8 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/1.133, allocations: 116.7 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/1.133, allocations: 25.7 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/1.133, allocations: 96.19 kB / 1.02 GB, free: 132 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/1.133, allocations: 31.44 kB / 1.02 GB, free: 104 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/1.133, allocations: 0 / 1.02 GB, free: 104 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001863/1.133, allocations: 322.5 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.572e-05/1.133, allocations: 35.19 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/1.133, allocations: 47.14 kB / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/1.135, allocations: 116.1 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.135, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00152/1.136, allocations: 205.1 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/1.136, allocations: 7.984 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.136, allocations: 0 / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/1.136, allocations: 0 / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/1.137, allocations: 19.94 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/1.137, allocations: 7.938 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/1.137, allocations: 19.84 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/1.137, allocations: 7.938 kB / 1.021 GB, free: 15.38 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): 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.0001312/1.137, allocations: 101 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009984/1.138, allocations: 160.4 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/1.138, allocations: 7.984 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/1.138, allocations: 109.5 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/1.138, allocations: 7.953 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.138, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/1.138, allocations: 3.984 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/1.139, allocations: 185.3 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/1.139, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/1.139, allocations: 23.8 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/1.139, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/1.139, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/1.139, allocations: 8 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.139, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/1.14, allocations: 236.5 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/1.14, allocations: 100.7 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/1.14, allocations: 12.08 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/1.14, allocations: 12 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/1.141, allocations: 15.92 kB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/1.141, allocations: 11.92 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.717e-05/1.141, allocations: 92.28 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.81e-07/1.141, allocations: 4 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004516/1.141, allocations: 51.92 kB / 1.022 GB, free: 14.25 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.001663/1.143, allocations: 0.9633 MB / 1.023 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007073/1.144, allocations: 0.7575 MB / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.144, allocations: 0 / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/1.144, allocations: 47.5 kB / 1.024 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/1.144, allocations: 15.25 kB / 1.024 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007837/1.145, allocations: 207 kB / 1.024 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/1.145, allocations: 0.7118 MB / 1.024 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001337/1.145, allocations: 13.11 kB / 1.024 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/1.146, allocations: 34.73 kB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/1.146, allocations: 0 / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03978/1.185, allocations: 2.342 MB / 1.027 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003471/1.186, allocations: 162.8 kB / 1.027 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/3.56, allocations: 2.5 kB / 1.027 GB, free: 8.953 MB / 0.6511 GB