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.001554/0.001553, allocations: 104.1 kB / 16.36 MB, free: 6.422 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.001147/0.001147, allocations: 192.6 kB / 17.3 MB, free: 5.801 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.455/1.455, 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.81/1.81, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001471/0.001471, allocations: 68.45 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2375, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00209/0.2397, allocations: 0.725 MB / 0.7855 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.2416, allocations: 1.568 MB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.2417, allocations: 0 / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.522e-05/0.2417, allocations: 3.938 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.2419, allocations: 35.78 kB / 0.7871 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.2423, allocations: 147.5 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.2425, allocations: 127.6 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.2426, allocations: 19.97 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.2427, allocations: 43.91 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.828e-05/0.2428, allocations: 55.81 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.2429, allocations: 12 kB / 0.7875 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.2431, allocations: 95.94 kB / 0.7875 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.2431, allocations: 31.89 kB / 0.7876 GB, free: 288 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.2432, allocations: 47.73 kB / 0.7876 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.2435, allocations: 195.5 kB / 0.7878 GB, free: 44 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2435, allocations: 0 / 0.7878 GB, free: 44 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2435, allocations: 0 / 0.7878 GB, free: 44 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.2435, allocations: 0 / 0.7878 GB, free: 44 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.4557/0.6992, allocations: 419.8 kB / 0.7882 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.6993, allocations: 14.41 kB / 0.7882 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.497e-05/0.6994, allocations: 11.66 kB / 0.7882 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.728e-05/0.6995, allocations: 175.3 kB / 0.7884 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/0.6996, allocations: 38.92 kB / 0.7884 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.6996, allocations: 9.531 kB / 0.7884 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.6998, allocations: 95.48 kB / 0.7885 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.6998, allocations: 5.812 kB / 0.7885 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.6999, allocations: 7.812 kB / 0.7885 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.6999, allocations: 0 / 0.7885 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.7, allocations: 43.59 kB / 0.7886 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007039/0.7007, allocations: 0.5149 MB / 0.7891 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005974/0.7013, allocations: 140.5 kB / 0.7892 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.975e-05/0.7014, allocations: 45.61 kB / 0.7893 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.7015, allocations: 2.938 kB / 0.7893 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003281/0.7018, allocations: 111.5 kB / 0.7894 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 2.665e-06/0.7018, allocations: 6.938 kB / 0.7894 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0004017/0.7022, allocations: 140.7 kB / 0.7895 GB, free: 48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.7023, allocations: 108.9 kB / 0.7896 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.406e-05/0.7024, allocations: 129.5 kB / 0.7897 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.7024, allocations: 32.73 kB / 0.7898 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.7025, allocations: 93.3 kB / 0.7899 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.7025, allocations: 30.44 kB / 0.7899 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/0.7026, allocations: 34.45 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.7027, allocations: 322.9 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.7028, allocations: 35.59 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.7029, allocations: 45.81 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.7032, allocations: 72.8 kB / 0.7904 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7032, allocations: 0 / 0.7904 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003092/0.7035, allocations: 131.3 kB / 0.7905 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.7035, allocations: 5.25 kB / 0.7905 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.7036, allocations: 2.625 kB / 0.7905 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.7036, allocations: 0 / 0.7905 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.7038, allocations: 23.23 kB / 0.7905 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.7038, allocations: 1.875 kB / 0.7905 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.7039, allocations: 20.06 kB / 0.7906 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.7039, allocations: 2.531 kB / 0.7906 GB, free: 47.25 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 0.0001014/0.7041, allocations: 130 kB / 0.7907 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.7041, allocations: 8.375 kB / 0.7907 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002939/0.7044, allocations: 116.3 kB / 0.7908 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.7044, allocations: 2.953 kB / 0.7908 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7044, allocations: 4.969 kB / 0.7908 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.7044, allocations: 1.594 kB / 0.7908 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.7046, allocations: 227.6 kB / 0.791 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7046, allocations: 0.625 kB / 0.791 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.7048, allocations: 23.66 kB / 0.7911 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.7048, allocations: 1.219 kB / 0.7911 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.7048, allocations: 3.438 kB / 0.7911 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7048, allocations: 0 / 0.7911 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7048, allocations: 7.281 kB / 0.7911 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.7051, allocations: 175.1 kB / 0.7912 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.7052, allocations: 101.2 kB / 0.7913 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.7052, allocations: 4.344 kB / 0.7913 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.7054, allocations: 11.19 kB / 0.7913 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.7054, allocations: 11.75 kB / 0.7914 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.7055, allocations: 6.969 kB / 0.7914 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.522e-05/0.7055, allocations: 106 kB / 0.7915 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7055, allocations: 0 / 0.7915 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004287/0.706, allocations: 53.25 kB / 0.7915 GB, free: 46.62 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.0002636/0.7063, allocations: 158.2 kB / 0.7917 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003027/0.7066, allocations: 102.8 kB / 0.7918 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7066, allocations: 0 / 0.7918 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.7067, allocations: 54.78 kB / 0.7918 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.707, allocations: 11.11 kB / 0.7918 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.7076, allocations: 226.3 kB / 0.792 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.7077, allocations: 0.7004 MB / 0.7927 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.407e-05/0.7078, allocations: 17.95 kB / 0.7927 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.7079, allocations: 24.73 kB / 0.7928 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.7079, allocations: 3.422 kB / 0.7928 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.006017/0.7139, allocations: 1.728 MB / 0.7945 GB, free: 45.59 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)