Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 252 MB / 267.9 MB, free: 10.9 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.0009096/0.0009097, allocations: 180.6 kB / 327.6 MB, free: 2.137 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 0.5785 GB, free: 20.18 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.0007557/0.0007557, allocations: 90.22 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 13.28 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.208, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.3777, allocations: 133.7 MB / 1.032 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.378, allocations: 71.95 kB / 1.032 GB, free: 9.758 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.01032/0.3883, allocations: 3.419 MB / 1.035 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.796e-06/0.3884, allocations: 0 / 1.035 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.3884, allocations: 0 / 1.035 GB, free: 6.336 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.0006599/0.389, allocations: 419.5 kB / 1.036 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.3891, allocations: 8.031 kB / 1.036 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/0.3892, allocations: 8.844 kB / 1.036 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3894, allocations: 188.1 kB / 1.036 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/0.3894, allocations: 38.27 kB / 1.036 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.3895, allocations: 8.375 kB / 1.036 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.3897, allocations: 100.8 kB / 1.036 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3897, allocations: 3.938 kB / 1.036 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.3897, allocations: 0 / 1.036 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.3897, allocations: 4 kB / 1.036 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.3899, allocations: 47.91 kB / 1.036 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007716/0.3906, allocations: 0.5126 MB / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/0.3911, allocations: 131.7 kB / 1.037 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.717e-05/0.3912, allocations: 46.66 kB / 1.037 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.3912, allocations: 4.062 kB / 1.037 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.3914, allocations: 125.8 kB / 1.037 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.3915, allocations: 0 / 1.037 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0003372/0.3918, allocations: 137.5 kB / 1.037 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.3919, allocations: 106.8 kB / 1.037 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.392, allocations: 125.8 kB / 1.037 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.392, allocations: 25.7 kB / 1.037 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.3921, allocations: 100.4 kB / 1.037 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.3921, allocations: 31.61 kB / 1.037 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.3922, allocations: 3.938 kB / 1.037 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3923, allocations: 322.8 kB / 1.038 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.3924, allocations: 31.98 kB / 1.038 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-05/0.3925, allocations: 54.89 kB / 1.038 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.3927, allocations: 82.14 kB / 1.038 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3927, allocations: 0 / 1.038 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002506/0.3929, allocations: 133.6 kB / 1.038 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.393, allocations: 4 kB / 1.038 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.393, allocations: 4 kB / 1.038 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.393, allocations: 304 / 1.038 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3931, allocations: 27.91 kB / 1.038 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.3931, allocations: 7.984 kB / 1.038 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.423e-05/0.3932, allocations: 19.89 kB / 1.038 GB, free: 3.215 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.3933, allocations: 8 kB / 1.038 GB, free: 3.207 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.0001058/0.3934, allocations: 124.4 kB / 1.038 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.3934, allocations: 11.89 kB / 1.038 GB, free: 3.066 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.3937, allocations: 106 kB / 1.038 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3937, allocations: 4 kB / 1.038 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3937, allocations: 0 / 1.038 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3937, allocations: 7.984 kB / 1.038 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.3939, allocations: 221.5 kB / 1.038 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3939, allocations: 4 kB / 1.038 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.316e-05/0.394, allocations: 19.88 kB / 1.038 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.394, allocations: 4 kB / 1.038 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.394, allocations: 7.984 kB / 1.038 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3941, allocations: 4 kB / 1.038 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3941, allocations: 0 / 1.038 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.3943, allocations: 177.2 kB / 1.039 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.3944, allocations: 96.98 kB / 1.039 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.3944, allocations: 11.94 kB / 1.039 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.3945, allocations: 4 kB / 1.039 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.3946, allocations: 23.91 kB / 1.039 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3946, allocations: 7.938 kB / 1.039 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.515e-05/0.3947, allocations: 105.4 kB / 1.039 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3947, allocations: 0 / 1.039 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002708/0.395, allocations: 59.94 kB / 1.039 GB, free: 2.121 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.0002437/0.3952, allocations: 155.2 kB / 1.039 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3954, allocations: 95.83 kB / 1.039 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3954, allocations: 0 / 1.039 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.106e-05/0.3955, allocations: 51.92 kB / 1.039 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.3957, allocations: 15.98 kB / 1.039 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.3962, allocations: 267.5 kB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.3965, allocations: 0.7081 MB / 1.04 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.013e-05/0.3966, allocations: 12.88 kB / 1.04 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.3967, allocations: 19.38 kB / 1.04 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.3967, allocations: 0 / 1.04 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of Templates: time 0.004098/0.4008, allocations: 1.477 MB / 1.042 GB, free: 15.27 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)