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.001304/0.001304, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 187 kB / 16.62 MB, free: 6.613 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.635/1.635, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.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.885/1.885, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001466/0.001466, allocations: 67.83 kB / 0.6723 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2962, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002606/0.2988, allocations: 0.7322 MB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.3012, allocations: 1.569 MB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.212e-05/0.3013, allocations: 7.938 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.836e-05/0.3013, allocations: 3.938 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.3016, allocations: 11.86 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000571/0.3021, allocations: 158.5 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.3024, allocations: 123.7 kB / 0.7867 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3025, allocations: 19.92 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.3026, allocations: 47.89 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.3028, allocations: 51.83 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.3028, allocations: 16 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.3031, allocations: 95.92 kB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.3031, allocations: 27.91 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.698e-05/0.3032, allocations: 47.78 kB / 0.7869 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.3036, allocations: 195.5 kB / 0.7871 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3036, allocations: 0 / 0.7871 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3036, allocations: 0 / 0.7871 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.3036, allocations: 7.938 kB / 0.7871 GB, free: 9.633 MB / 0.6075 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.0008386/0.3045, allocations: 431 kB / 0.7876 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3045, allocations: 8.031 kB / 0.7876 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.3046, allocations: 8.844 kB / 0.7876 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.3047, allocations: 184.2 kB / 0.7877 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.049e-05/0.3048, allocations: 30.27 kB / 0.7878 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.3048, allocations: 12.38 kB / 0.7878 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.3051, allocations: 104.3 kB / 0.7879 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.3051, allocations: 4 kB / 0.7879 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.3051, allocations: 0 / 0.7879 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3051, allocations: 0 / 0.7879 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.3053, allocations: 51.95 kB / 0.7879 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007565/0.306, allocations: 0.5126 MB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.3066, allocations: 135.7 kB / 0.7886 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.648e-05/0.3067, allocations: 50.66 kB / 0.7886 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.3067, allocations: 0 / 0.7886 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.307, allocations: 109.9 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.307, allocations: 0 / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0003637/0.3073, allocations: 145.7 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.3074, allocations: 110.8 kB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3075, allocations: 125.8 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.3076, allocations: 33.69 kB / 0.7891 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.3076, allocations: 88.48 kB / 0.7892 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.3077, allocations: 39.48 kB / 0.7892 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.3078, allocations: 33.7 kB / 0.7893 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3079, allocations: 326.9 kB / 0.7896 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-05/0.308, allocations: 31.98 kB / 0.7896 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-05/0.3081, allocations: 39.97 kB / 0.7897 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.3083, allocations: 79.45 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3083, allocations: 0 / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002492/0.3086, allocations: 129.5 kB / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.3086, allocations: 11.98 kB / 0.7899 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3086, allocations: 0 / 0.7899 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.3086, allocations: 3.984 kB / 0.7899 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3088, allocations: 23.98 kB / 0.7899 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3088, allocations: 0 / 0.7899 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.665e-05/0.3089, allocations: 11.84 kB / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.3089, allocations: 11.94 kB / 0.7899 GB, free: 6.5 MB / 0.6075 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.0001401/0.3091, allocations: 125.5 kB / 0.79 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.3091, allocations: 8 kB / 0.79 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.3094, allocations: 113.9 kB / 0.7901 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.3094, allocations: 4 kB / 0.7902 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3095, allocations: 7.875 kB / 0.7902 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3095, allocations: 4 kB / 0.7902 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.3097, allocations: 221.8 kB / 0.7904 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3097, allocations: 4 kB / 0.7904 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.6e-05/0.3098, allocations: 19.98 kB / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3098, allocations: 0 / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.3098, allocations: 4 kB / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3099, allocations: 8 kB / 0.7904 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3099, allocations: 0 / 0.7904 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.3101, allocations: 178.5 kB / 0.7906 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.832e-05/0.3102, allocations: 100.9 kB / 0.7907 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.3103, allocations: 4 kB / 0.7907 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.3104, allocations: 15.92 kB / 0.7907 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.3104, allocations: 15.92 kB / 0.7907 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3105, allocations: 8 kB / 0.7907 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.055e-05/0.3105, allocations: 95.27 kB / 0.7908 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3106, allocations: 0 / 0.7908 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003364/0.3109, allocations: 55.94 kB / 0.7909 GB, free: 5.422 MB / 0.6075 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.0003245/0.3112, allocations: 161.7 kB / 0.791 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.3115, allocations: 91.97 kB / 0.7911 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3115, allocations: 4 kB / 0.7911 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.3117, allocations: 59.89 kB / 0.7912 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.3119, allocations: 12.92 kB / 0.7912 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.3124, allocations: 241.1 kB / 0.7914 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.3127, allocations: 0.7041 MB / 0.7921 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.988e-05/0.3128, allocations: 15.67 kB / 0.7921 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.3129, allocations: 15.44 kB / 0.7921 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.3129, allocations: 0 / 0.7921 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of Templates: time 0.004917/0.3178, allocations: 1.733 MB / 0.7938 GB, free: 2.336 MB / 0.6075 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)