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.126/2.126, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00238/0.00238, allocations: 179 kB / 325.5 MB, free: 2.914 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.332/2.332, allocations: 205.4 MB / 0.5764 GB, free: 21.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001108, allocations: 100.8 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004662, allocations: 16.5 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2059, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.221/0.427, allocations: 133.5 MB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.4274, allocations: 75.95 kB / 1.029 GB, free: 12.22 MB / 0.6823 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.0174/0.4448, allocations: 3.405 MB / 1.033 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4448, allocations: 0 / 1.033 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.4448, allocations: 0 / 1.033 GB, free: 8.812 MB / 0.6823 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.0008515/0.4457, allocations: 427.2 kB / 1.033 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.4458, allocations: 8.031 kB / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.261e-05/0.4458, allocations: 42.5 kB / 1.033 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.4459, allocations: 15.84 kB / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.4461, allocations: 174.9 kB / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.557e-05/0.4462, allocations: 33.7 kB / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.4462, allocations: 8 kB / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.4465, allocations: 110.3 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4465, allocations: 0 / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.4466, allocations: 0 / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.4466, allocations: 0 / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.4468, allocations: 47.97 kB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008957/0.4477, allocations: 0.5127 MB / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007636/0.4485, allocations: 135.8 kB / 1.034 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.4485, allocations: 4 kB / 1.034 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002894/0.4488, allocations: 129.9 kB / 1.034 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 2.645e-06/0.4488, allocations: 0 / 1.034 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0005027/0.4494, allocations: 133.5 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.761e-05/0.4495, allocations: 110.8 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.4496, allocations: 113 kB / 1.034 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.4497, allocations: 37.64 kB / 1.035 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.4497, allocations: 92.33 kB / 1.035 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.4498, allocations: 31.55 kB / 1.035 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.4498, allocations: 128 / 1.035 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.45, allocations: 320.4 kB / 1.035 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.4501, allocations: 39.97 kB / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.4503, allocations: 47.11 kB / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.4505, allocations: 35.98 kB / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4505, allocations: 0 / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004478/0.4509, allocations: 125.5 kB / 1.035 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.451, allocations: 11.98 kB / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.451, allocations: 4 kB / 1.035 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.451, allocations: 3.953 kB / 1.035 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.4513, allocations: 23.92 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4513, allocations: 0 / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.4515, allocations: 15.94 kB / 1.035 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.4515, allocations: 7.984 kB / 1.035 GB, free: 5.766 MB / 0.6823 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 () * 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.0001525/0.4517, allocations: 127.7 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.4517, allocations: 7.906 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.4521, allocations: 117.9 kB / 1.035 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.4521, allocations: 7.953 kB / 1.035 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.4521, allocations: 0 / 1.035 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4522, allocations: 0 / 1.035 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.4524, allocations: 217.5 kB / 1.036 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.4525, allocations: 4 kB / 1.036 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.4527, allocations: 15.98 kB / 1.036 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.4527, allocations: 8 kB / 1.036 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.4527, allocations: 4 kB / 1.036 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.4527, allocations: 4 kB / 1.036 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4527, allocations: 3.953 kB / 1.036 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.4532, allocations: 199.3 kB / 1.036 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.4533, allocations: 96.94 kB / 1.036 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.4534, allocations: 7.953 kB / 1.036 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.4535, allocations: 12.3 kB / 1.036 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.4536, allocations: 15.98 kB / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.4536, allocations: 8 kB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.837e-05/0.4537, allocations: 99.27 kB / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4537, allocations: 0 / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004349/0.4542, allocations: 67.86 kB / 1.036 GB, free: 4.645 MB / 0.6823 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) * Number of clocked states: 0 () * 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.001076/0.4553, allocations: 0.9148 MB / 1.037 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003887/0.4557, allocations: 101.9 kB / 1.037 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4557, allocations: 0 / 1.037 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.4559, allocations: 51.92 kB / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.4561, allocations: 8.75 kB / 1.037 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.4573, allocations: 0.6512 MB / 1.038 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.4576, allocations: 0.7159 MB / 1.039 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001394/0.4578, allocations: 12.83 kB / 1.039 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.4579, allocations: 31.42 kB / 1.039 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/0.4579, allocations: 0 / 1.039 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.48, allocations: 2.615 MB / 1.041 GB, free: 15.58 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003115/0.4804, allocations: 208 kB / 1.041 GB, free: 15.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/2.837, allocations: 0 / 1.041 GB, free: 15.34 MB / 0.698 GB