Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 108.3 kB / 16.36 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 189.2 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.768/1.768, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.89 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2393, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002046/0.2414, allocations: 0.7517 MB / 0.7855 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.2433, allocations: 1.561 MB / 0.787 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/0.2434, allocations: 0 / 0.787 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/0.2434, allocations: 7.875 kB / 0.787 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.2436, allocations: 23.84 kB / 0.7871 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.244, allocations: 151.5 kB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.2442, allocations: 119.7 kB / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.2443, allocations: 19.98 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.2444, allocations: 51.84 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.2445, allocations: 55.75 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.2445, allocations: 12 kB / 0.7875 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.2447, allocations: 99.91 kB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.2448, allocations: 19.98 kB / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.2448, allocations: 47.8 kB / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.2451, allocations: 203.4 kB / 0.7878 GB, free: 24 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2451, allocations: 4 kB / 0.7878 GB, free: 20 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2451, allocations: 0 / 0.7878 GB, free: 20 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.2451, allocations: 0 / 0.7878 GB, free: 20 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.3621/0.6072, allocations: 411.5 kB / 0.7882 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.6073, allocations: 11.25 kB / 0.7882 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.6074, allocations: 12.78 kB / 0.7882 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.6075, allocations: 178.6 kB / 0.7884 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/0.6075, allocations: 34.23 kB / 0.7884 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.6076, allocations: 9.562 kB / 0.7884 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.6077, allocations: 103.4 kB / 0.7885 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.6078, allocations: 6.75 kB / 0.7885 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.6078, allocations: 2.781 kB / 0.7885 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.6078, allocations: 1.219 kB / 0.7885 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.6079, allocations: 41.83 kB / 0.7886 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.6084, allocations: 0.5195 MB / 0.7891 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.6089, allocations: 135.6 kB / 0.7892 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.683e-05/0.609, allocations: 44.67 kB / 0.7893 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.609, allocations: 5.109 kB / 0.7893 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.6092, allocations: 113.8 kB / 0.7894 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 2.705e-06/0.6092, allocations: 2.047 kB / 0.7894 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0002845/0.6095, allocations: 146 kB / 0.7895 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.6095, allocations: 105.8 kB / 0.7896 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.118e-05/0.6096, allocations: 127.9 kB / 0.7897 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.6096, allocations: 35.55 kB / 0.7898 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.6097, allocations: 89.11 kB / 0.7899 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.6097, allocations: 30.08 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.6097, allocations: 36.73 kB / 0.7899 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.839e-05/0.6098, allocations: 325.1 kB / 0.7902 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/0.6099, allocations: 36.22 kB / 0.7903 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.259e-05/0.61, allocations: 44.17 kB / 0.7903 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.6101, allocations: 77.62 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6101, allocations: 0 / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002029/0.6103, allocations: 129.8 kB / 0.7905 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.6104, allocations: 5.25 kB / 0.7905 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6104, allocations: 0 / 0.7905 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6104, allocations: 6.469 kB / 0.7905 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.6105, allocations: 22.52 kB / 0.7905 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.6105, allocations: 3.375 kB / 0.7905 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.177e-05/0.6106, allocations: 16.16 kB / 0.7906 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.6106, allocations: 5.719 kB / 0.7906 GB, free: 47.14 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.154e-05/0.6107, allocations: 121.4 kB / 0.7907 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.6107, allocations: 9.156 kB / 0.7907 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.6109, allocations: 119.8 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.611, allocations: 3.219 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.611, allocations: 3.234 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.611, allocations: 6.719 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.6111, allocations: 224.9 kB / 0.791 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6111, allocations: 0 / 0.791 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.713e-05/0.6112, allocations: 25.69 kB / 0.7911 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.6112, allocations: 0 / 0.7911 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.6112, allocations: 3.094 kB / 0.7911 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.6113, allocations: 1.281 kB / 0.7911 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6113, allocations: 3.156 kB / 0.7911 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.6115, allocations: 172.9 kB / 0.7912 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.6115, allocations: 99.62 kB / 0.7913 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.6116, allocations: 9.094 kB / 0.7913 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.6116, allocations: 7.438 kB / 0.7913 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.6117, allocations: 11.09 kB / 0.7914 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.6117, allocations: 7.844 kB / 0.7914 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.032e-05/0.6118, allocations: 113.9 kB / 0.7915 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6118, allocations: 0 / 0.7915 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002766/0.6121, allocations: 52.69 kB / 0.7915 GB, free: 46.51 MB / 0.6544 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.not1.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002244/0.6123, allocations: 157.1 kB / 0.7917 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.6125, allocations: 103.8 kB / 0.7918 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6125, allocations: 0 / 0.7918 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.284e-05/0.6126, allocations: 54.14 kB / 0.7918 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.6128, allocations: 14.81 kB / 0.7918 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.6132, allocations: 258.1 kB / 0.7921 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.6134, allocations: 0.7018 MB / 0.7928 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.6134, allocations: 22.2 kB / 0.7928 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6134, allocations: 1.5 kB / 0.7928 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of Templates: time 0.00314/0.6166, allocations: 1.816 MB / 0.7946 GB, free: 45.41 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)