Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.511/2.511, allocations: 287.5 MB / 303.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001357/0.001356, allocations: 170.2 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008659/0.0008656, allocations: 84.38 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007468/0.0007471, allocations: 10.66 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2686, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9493/1.218, allocations: 138.8 MB / 1.115 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/1.218, allocations: 71.47 kB / 1.115 GB, free: 15.62 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30: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.02445/1.243, allocations: 3.354 MB / 1.118 GB, free: 31.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.336e-06/1.243, allocations: 0 / 1.118 GB, free: 31.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.269e-05/1.243, allocations: 0 / 1.118 GB, free: 31.15 MB / 0.698 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.001124/1.244, allocations: 419.2 kB / 1.119 GB, free: 30.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/1.244, allocations: 15.62 kB / 1.119 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.397e-05/1.244, allocations: 8.75 kB / 1.119 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/1.245, allocations: 180.5 kB / 1.119 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/1.245, allocations: 33.92 kB / 1.119 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/1.245, allocations: 11.53 kB / 1.119 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/1.245, allocations: 100.2 kB / 1.119 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/1.245, allocations: 3.938 kB / 1.119 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/1.245, allocations: 0 / 1.119 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/1.245, allocations: 7.812 kB / 1.119 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/1.245, allocations: 48.66 kB / 1.119 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/1.247, allocations: 0.5116 MB / 1.119 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/1.248, allocations: 133 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/1.248, allocations: 47 kB / 1.12 GB, free: 29.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/1.248, allocations: 6.641 kB / 1.12 GB, free: 29.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003204/1.249, allocations: 111.9 kB / 1.12 GB, free: 29.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 4.308e-06/1.249, allocations: 0 / 1.12 GB, free: 29.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0006934/1.249, allocations: 131 kB / 1.12 GB, free: 29.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.249, allocations: 114.2 kB / 1.12 GB, free: 29.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/1.25, allocations: 131.3 kB / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.477e-05/1.25, allocations: 34.97 kB / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/1.25, allocations: 89.47 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.092e-05/1.25, allocations: 34.45 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/1.25, allocations: 3.906 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.25, allocations: 324.7 kB / 1.121 GB, free: 29.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/1.25, allocations: 38.39 kB / 1.121 GB, free: 29.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/1.251, allocations: 51.56 kB / 1.121 GB, free: 29.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/1.251, allocations: 78.92 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.251, allocations: 0 / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000614/1.252, allocations: 131.3 kB / 1.121 GB, free: 29.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.252, allocations: 3.969 kB / 1.121 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.252, allocations: 3.188 kB / 1.121 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/1.252, allocations: 0 / 1.121 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/1.252, allocations: 22.83 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/1.252, allocations: 7.75 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/1.252, allocations: 14.61 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/1.253, allocations: 4.062 kB / 1.121 GB, free: 29 MB / 0.698 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.0002116/1.253, allocations: 126.5 kB / 1.121 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/1.253, allocations: 7.781 kB / 1.121 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005438/1.253, allocations: 119 kB / 1.121 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/1.253, allocations: 3.781 kB / 1.121 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/1.253, allocations: 0 / 1.121 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/1.253, allocations: 3.906 kB / 1.121 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/1.254, allocations: 224.8 kB / 1.121 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.254, allocations: 0 / 1.121 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/1.254, allocations: 25.61 kB / 1.121 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/1.254, allocations: 0 / 1.121 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/1.254, allocations: 3.781 kB / 1.121 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/1.254, allocations: 4 kB / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.254, allocations: 0 / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/1.255, allocations: 185.8 kB / 1.122 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/1.255, allocations: 95.73 kB / 1.122 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/1.255, allocations: 3.906 kB / 1.122 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/1.255, allocations: 17.83 kB / 1.122 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/1.255, allocations: 14.47 kB / 1.122 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/1.255, allocations: 11.02 kB / 1.122 GB, free: 28.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001313/1.256, allocations: 97.64 kB / 1.122 GB, free: 28.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.41e-07/1.256, allocations: 0 / 1.122 GB, free: 28.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006465/1.256, allocations: 63.69 kB / 1.122 GB, free: 28.33 MB / 0.698 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.0004233/1.257, allocations: 146.8 kB / 1.122 GB, free: 28.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004877/1.257, allocations: 101 kB / 1.122 GB, free: 28.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.257, allocations: 3.938 kB / 1.122 GB, free: 28.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/1.257, allocations: 54.09 kB / 1.122 GB, free: 28.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/1.258, allocations: 10.91 kB / 1.122 GB, free: 28.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008587/1.259, allocations: 273.5 kB / 1.122 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/1.259, allocations: 0.7031 MB / 1.123 GB, free: 27.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001994/1.259, allocations: 15.11 kB / 1.123 GB, free: 27.31 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.086e-05/1.26, allocations: 17.59 kB / 1.123 GB, free: 27.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.483e-06/1.26, allocations: 0 / 1.123 GB, free: 27.3 MB / 0.698 GB Notification: Performance of Templates: time 0.008178/1.268, allocations: 1.474 MB / 1.125 GB, free: 27.16 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)